brilliantsole 0.0.15 → 0.0.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -5217,7 +5217,10 @@
5217
5217
  __classPrivateFieldSet(this, _BaseClient_instances, false, "a", _BaseClient_isScanningAvailable_set);
5218
5218
  __classPrivateFieldSet(this, _BaseClient_instances, false, "a", _BaseClient_isScanning_set);
5219
5219
  for (const id in __classPrivateFieldGet(this, _BaseClient_devices, "f")) {
5220
- __classPrivateFieldGet(this, _BaseClient_devices, "f")[id].removeAllEventListeners();
5220
+ const device = __classPrivateFieldGet(this, _BaseClient_devices, "f")[id];
5221
+ const connectionManager = device.connectionManager;
5222
+ connectionManager.isConnected = false;
5223
+ device.removeAllEventListeners();
5221
5224
  }
5222
5225
  __classPrivateFieldSet(this, _BaseClient_devices, {}, "f");
5223
5226
  }, _BaseClient_parseMessageCallback = function _BaseClient_parseMessageCallback(messageType, dataView) {