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:
jfcarroll
2021-08-12 18:29:06 -07:00
committed by Copybara-Service
parent 07d33cfa9e
commit 628255ac59
2 changed files with 2 additions and 4 deletions
@@ -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()]);
}