Skip to content

Commit b8c53b3

Browse files
Fix removeAllDevices method.
1 parent 65cca3c commit b8c53b3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/bluetooth/BluetoothManager.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ export class BluetoothManager implements IBluetoothManager {
8383
for (const device of deviceList) {
8484
this._removeDeviceFromList(device);
8585
}
86-
this.deviceListChanged.emit(deviceList);
86+
this.deviceListChanged.emit(this._deviceList);
8787
}
8888

8989
async checkWebBluetoothSupport(): Promise<boolean> {

0 commit comments

Comments
 (0)