Internal change

PiperOrigin-RevId: 360339328
This commit is contained in:
hai007
2021-03-01 20:31:06 -08:00
committed by Copybara-Service
parent 0c70dc054a
commit ff2628071d
+4 -1
View File
@@ -679,7 +679,10 @@ void ClientProxy::ScheduleClearLocalHighVisModeCacheEndpointIdAlarm() {
this, local_high_vis_mode_cache_endpoint_id_.c_str());
clear_local_high_vis_mode_cache_endpoint_id_alarm_ = CancelableAlarm(
"clear_high_power_endpoint_id_cache",
[this]() { local_high_vis_mode_cache_endpoint_id_.clear(); },
[this]() {
MutexLock lock(&mutex_);
local_high_vis_mode_cache_endpoint_id_.clear();
},
kHighPowerAdvertisementEndpointIdCacheTimeout, &single_thread_executor_);
}