mirror of
https://github.com/kidfromjupiter/nearby.git
synced 2026-09-16 15:36:12 -04:00
[Safe-to-disconnect] Fix a bug that causes Send file from Windows to Android fails
PiperOrigin-RevId: 684077190
This commit is contained in:
@@ -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);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user