flutter_reactive_ble icon indicating copy to clipboard operation
flutter_reactive_ble copied to clipboard

Device StreamSubscription does not disconnect even with the "deviceSubscription.cancel()" method.

Open yuriboeira11tx opened this issue 2 years ago • 0 comments

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

yuriboeira11tx avatar Aug 04 '22 16:08 yuriboeira11tx