patch cl/340877543

Signed-off-by: hai007 <hais@google.com>
This commit is contained in:
hai007
2020-11-10 11:47:39 -08:00
parent bad8738eb6
commit 2526d46eaf
5 changed files with 47 additions and 20 deletions
+1 -3
View File
@@ -290,9 +290,7 @@ void MediumEnvironment::UnregisterBluetoothMedium(
RunOnMediumEnvironmentThread([this, &medium]() {
auto item = bluetooth_mediums_.extract(&medium);
if (item.empty()) return;
auto& context = item.mapped();
NEARBY_LOG(INFO, "Unregistered medium for device=%s",
context.adapter->GetName().c_str());
NEARBY_LOGS(INFO) << "Unregistered Bluetooth medium:" << &medium;
});
}