Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Device (properties) event listener leak #35

Closed
tuxedoxt opened this issue May 18, 2022 · 0 comments · Fixed by #37
Closed

Device (properties) event listener leak #35

tuxedoxt opened this issue May 18, 2022 · 0 comments · Fixed by #37
Assignees

Comments

@tuxedoxt
Copy link
Contributor

Hello,

using Adapter.getDevice followed by any property getter like Device.getName seems to leave PropertiesChanged event listeners.

Using device Device.disconnect (even when never having used Device.connect) removes listeners on Device.helper but not on Device.helper._propsProxy.

This is one of two issues I noticed while repeatedly trying to enumerate a devices and read some properties from them (in a heavy BLE traffic area).

@chrvadala chrvadala linked a pull request Jul 3, 2022 that will close this issue
@chrvadala chrvadala self-assigned this Oct 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants