flutter_reactive_ble icon indicating copy to clipboard operation
flutter_reactive_ble copied to clipboard

ConnectionQueue can get stuck permanently without a way to recover

Open b055man opened this issue 4 months ago • 0 comments

It is possible that plugin is stuck forever upon receiving lots of connection requests from different device. After thorough investigation it looks like the culprit is the ConnectionQueue that ended up stuck with some dead/orphaned connections that never recover on their own (which is a different story.. potentially requiring diving deeper in RxAndroidBle) and even though the client already lost interest for these connnections and requested a disconnection (and these items are removed from activeConnections in RxBleClient), objects in the queue stay forever.

b055man avatar Aug 04 '25 13:08 b055man