-
Notifications
You must be signed in to change notification settings - Fork 448
Open
Description
I'm having the same issue as #438 where I am getting:
java.lang.IllegalStateException: Too many receivers, total of 1000
presumably after my app has made 1000 connections. Once it gets into this state, I have to kill the app before I can make any more connections. I am using one BleManager instance per connection, but I am using setAutoConnect(false).
From a cursory look at the code, it seems like it may be the case that the BleManager.disconnect() request does eventually result in BleManagerHandler.close() being called, but not BleManager.close(), which is where the receiver in question is unregistered (BleManager.mPairingRequestBroadcastReceiver). Am I reading that correctly?
Thank you for making such an incredibly helpful library!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels