Skip to content

Commit

Permalink
[Safe-to-disconnect] Fix a bug that causes Send file from Windows to …
Browse files Browse the repository at this point in the history
…Android fails

PiperOrigin-RevId: 683788469
  • Loading branch information
hai007 authored and copybara-github committed Oct 9, 2024
1 parent b721624 commit ae34b70
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion connections/implementation/endpoint_manager.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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);
});
Expand Down
2 changes: 1 addition & 1 deletion connections/implementation/reconnect_manager.cc
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ bool ReconnectManager::Start(bool is_incoming, ClientProxy* client,
CountDownLatch latch(1);
reconnect_executor_.Execute(
"reconnect-start",
[this, &final_result, is_incoming, client, &endpoint_id,
[this, &final_result, is_incoming, client, endpoint_id,
&reconnect_service_id, retry_delay_millis, reconnect_retry_num, medium,
&latch]() mutable {
for (int i = 0; i < reconnect_retry_num; ++i) {
Expand Down

0 comments on commit ae34b70

Please sign in to comment.