clear previous ble devices
This commit is contained in:
parent
c078683e71
commit
27e8326202
1 changed files with 1 additions and 0 deletions
|
|
@ -72,6 +72,7 @@ class PlejdService extends EventEmitter {
|
||||||
this.objectManager.removeAllListeners();
|
this.objectManager.removeAllListeners();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
this.bleDevices = [];
|
||||||
clearInterval(this.pingRef);
|
clearInterval(this.pingRef);
|
||||||
|
|
||||||
const bluez = await this.bus.getProxyObject(BLUEZ_SERVICE_NAME, '/');
|
const bluez = await this.bus.getProxyObject(BLUEZ_SERVICE_NAME, '/');
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue