You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello @hoanglm4
Thank you for the report. Apparently there was an issue with DisconnectionRouter that prevented the RxBleAdapterStateObservable from being unsubscribed. It should now be fixed with #353 .
You can check out 1.5.0-SNAPSHOT if that is the case.
Best Regards
Summary
RxBleAdapterStateObservable
andDisconnectionRouter
is leaked memoryLibrary version
1.4.3
Preconditions
Connect to BLE device is failed
Steps to reproduce actual result
1. connect() method is called => waiting until connection is failed
2. connect() method is called again
3. repeat step 1, 2 about 100 times
Please see dumemory capture screen:
DisconnectionRouter
RxBleAdapterStateObservable
Minimum code snippet reproducing the issue
Actual result
RxBleAdapterStateObservable
andDisconnectionRouter
is leaked memory. Because broacastReceiver in RxBleAdapterStateObservale is not unregisterExpected result
RxBleAdapterStateObservable
andDisconnectionRouter
is not leaked memoryThe text was updated successfully, but these errors were encountered: