diff --git a/js/src/client/Client.ts b/js/src/client/Client.ts index bc9c0e0..242eb1e 100644 --- a/js/src/client/Client.ts +++ b/js/src/client/Client.ts @@ -71,6 +71,7 @@ export class ButtplugClient extends EventEmitter { public disconnect = async () => { this._logger.Debug('ButtplugClient: Disconnect called'); + this._devices.clear(); this.checkConnector(); await this.shutdownConnection(); await this._connector!.disconnect();