Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Fix Zed not entering disconnected state when remote proxy dies (#47659)

John Ture49dd8ba371d
diff --git a/crates/remote/src/remote_client.rs b/crates/remote/src/remote_client.rs
index 1a2ccbef648..0b4eed025e6 100644
--- a/crates/remote/src/remote_client.rs
+++ b/crates/remote/src/remote_client.rs
@@ -841,7 +841,7 @@ impl RemoteClient {
})?;
}
}
- } else if exit_code > 0 {
+ } else {
log::error!("proxy process terminated unexpectedly: {exit_code}");
this.update(cx, |this, cx| {
this.reconnect(cx).ok();