Skip to content

It crashes application if you unsubscribe before connection is establish #37

@JustTrust

Description

@JustTrust

In observeConnectDevice method you need to check if emitter is not disposed before send error or onNext. Please change this code emitter.onError(e) to next if (emitter.isDisposed.not()) emitter.onError(e)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions