node-ble
node-ble copied to clipboard
Device (properties) event listener leak
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).