Skip to content

Commit 6c1ce39

Browse files
committed
Make scanning restartable on Windows
1 parent 9d39f46 commit 6c1ce39

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/windows/BluetoothLePlugin.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,7 @@ module.exports = {
157157

158158
if (WATCHER.status !== DeviceWatcherStatus.started &&
159159
WATCHER.status !== DeviceWatcherStatus.created &&
160+
WATCHER.status !== DeviceWatcherStatus.stopped &&
160161
WATCHER.status !== DeviceWatcherStatus.aborted) {
161162

162163
errorCallback({ error: "startScan", message: 'Scan already in progress' });

0 commit comments

Comments
 (0)