Skip to content

Device (properties) event listener leak #35

@tuxedoxt

Description

@tuxedoxt

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).

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions