RxBluetooth
RxBluetooth copied to clipboard
It crashes application if you unsubscribe before connection is establish
trafficstars
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)
@IvBaranov are you still support this library?
Sure, just don't have enough time right now.
Thanks in advance, we will wait for updates )
Instead of using if (emitter.isDisposed.not()) you can use just emtter.tryOnError(e)