Internal change

PiperOrigin-RevId: 364035803
This commit is contained in:
hai007
2021-03-19 22:57:24 -07:00
committed by Copybara-Service
parent b58acc99bc
commit 856f523de8
2 changed files with 13 additions and 2 deletions
+1
View File
@@ -117,6 +117,7 @@ Status BasePcpHandler::StartAdvertising(ClientProxy* client,
}
void BasePcpHandler::StopAdvertising(ClientProxy* client) {
NEARBY_LOGS(INFO) << "StopAdvertising id=" << client->GetLocalEndpointId();
CountDownLatch latch(1);
RunOnPcpHandlerThread([this, client, &latch]() RUN_ON_PCP_HANDLER_THREAD() {
StopAdvertisingImpl(client);