From a852817f0eacc5862f268c0d7fa8708efe8f2bd8 Mon Sep 17 00:00:00 2001 From: hai007 Date: Mon, 13 Jun 2022 10:51:49 -0700 Subject: [PATCH] Fix the function comments of StopAllEndpoints. PiperOrigin-RevId: 454648920 --- connections/clients/windows/core_adapter.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/connections/clients/windows/core_adapter.h b/connections/clients/windows/core_adapter.h index 6ebf5431..ad9385df 100644 --- a/connections/clients/windows/core_adapter.h +++ b/connections/clients/windows/core_adapter.h @@ -224,9 +224,8 @@ DLL_API void __stdcall DisconnectFromEndpoint(Core*, const char*, ResultCallbackW); // Disconnects from, and removes all traces of, all connected and/or -// discovered endpoints. This call is expected to be preceded by a call to -// StopAdvertising or StartDiscovery as needed. After calling -// StopAllEndpoints, no further operations with remote endpoints will be +// discovered endpoints. This call also stops advertising and discovery. After +// calling StopAllEndpoints, no further operations with remote endpoints will be // possible until a new call to one of StartAdvertising() or StartDiscovery(). // // result_cb - to access the status of the operation when available.