crates/project/src/lsp_store.rs 🔗
@@ -4193,7 +4193,7 @@ impl LspStore {
})
.detach();
} else {
- panic!("oops!");
+ // Our remote connection got closed
}
handle
}
zed-zippy[bot] and Lukas Wirth created
Cherry-pick of #42167 to preview
----
If we are in a remote session with the remote dropped, this path is very
much reachable if the call to this function got queued up in a task.
Fixes ZED-124
Release Notes:
- N/A *or* Added/Fixed/Improved ...
Co-authored-by: Lukas Wirth <lukas@zed.dev>
crates/project/src/lsp_store.rs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
@@ -4193,7 +4193,7 @@ impl LspStore {
})
.detach();
} else {
- panic!("oops!");
+ // Our remote connection got closed
}
handle
}