flutter_reactive_ble
flutter_reactive_ble copied to clipboard
Device StreamSubscription does not disconnect even with the "deviceSubscription.cancel()" method.
Describe the bug When I enter the screen of my application, there is a function responsible for connecting to the device. It works perfectly. The problem is when you just enter this screen and exit, even using "dispose()" and inside it canceling any connection StreamSubscription, it still remains connected. Try connecting and while connecting, press to disconnect. It's not closing. This is very strange as it is a Stream method.
Smartphone / tablet
- Device: Samsung M62
- OS: Android 12
- Package version: 5.0.2
Peripheral device
- Does it run a custom firmware: yes