[Safe-to-disconnect] Fix a bug that causes Send file from Windows to Android fails

PiperOrigin-RevId: 684077190
This commit is contained in:
hai007
2024-10-09 10:03:04 -07:00
committed by Copybara-Service
parent b721624851
commit fa6cedaa9b
2 changed files with 2 additions and 2 deletions
@@ -337,7 +337,7 @@ void EndpointManager::ProcessDisconnectionFrame(
endpoint_id, /* is_safe_to_disconnect */ true,
/* notify_stop_waiting */ false);
RunOnEndpointManagerThread(
"safe-to-disconnect", [this, client, &endpoint_id]() {
"safe-to-disconnect", [this, client, endpoint_id]() {
RemoveEndpoint(client, endpoint_id, /*notify=*/true,
DisconnectionReason::REMOTE_DISCONNECTION);
});