mirror of
https://github.com/kidfromjupiter/nearby.git
synced 2026-09-16 07:36:10 -04:00
Cleanup Items that I didn't want or otherwise didn't get in the last c/l
PiperOrigin-RevId: 390507261
This commit is contained in:
committed by
Copybara-Service
parent
07d33cfa9e
commit
628255ac59
@@ -348,9 +348,9 @@ winrt::fire_and_forget BluetoothClassicMedium::DeviceWatcher_Updated(
|
||||
|
||||
winrt::fire_and_forget BluetoothClassicMedium::DeviceWatcher_Removed(
|
||||
DeviceWatcher sender, DeviceInformationUpdate deviceInfo) {
|
||||
if (IsWatcherStarted()) {
|
||||
EnterCriticalSection(&critical_section_);
|
||||
EnterCriticalSection(&critical_section_);
|
||||
|
||||
if (IsWatcherStarted()) {
|
||||
if (discovery_callback_.device_lost_cb != nullptr) {
|
||||
discovery_callback_.device_lost_cb(*devices_by_id_[deviceInfo.Id()]);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user