We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d81cd18 commit 468dde7Copy full SHA for 468dde7
crates/bluetooth/src/device/windows/watch.rs
@@ -137,7 +137,9 @@ impl Watcher {
137
// https://learn.microsoft.com/en-us/uwp/api/windows.devices.enumeration.devicewatcher?view=winrt-26100
138
if matches!(
139
status,
140
- DeviceWatcherStatus::Started | DeviceWatcherStatus::EnumerationCompleted
+ DeviceWatcherStatus::Started
141
+ | DeviceWatcherStatus::Aborted
142
+ | DeviceWatcherStatus::EnumerationCompleted
143
) {
144
self.watcher.Stop()?;
145
}
0 commit comments