Closed tuxedoxt closed 9 months ago
Hello,
using Adapter.getDevice followed by any property getter like Device.getName seems to leave PropertiesChanged event listeners.
Adapter.getDevice
Device.getName
PropertiesChanged
Using device Device.disconnect (even when never having used Device.connect) removes listeners on Device.helper but not on Device.helper._propsProxy.
Device.disconnect
Device.connect
Device.helper
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).
Hello,
using
Adapter.getDevice
followed by any property getter likeDevice.getName
seems to leavePropertiesChanged
event listeners.Using device
Device.disconnect
(even when never having usedDevice.connect
) removes listeners onDevice.helper
but not onDevice.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).