From de1bf64f41881e600ecce731000f49dda8b39aaa Mon Sep 17 00:00:00 2001 From: Lukas Wirth Date: Fri, 7 Nov 2025 07:56:19 +0100 Subject: [PATCH] project: Remove unnecessary panic (#42167) 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 ... --- crates/project/src/lsp_store.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/project/src/lsp_store.rs b/crates/project/src/lsp_store.rs index 9444f0f4d7bcde134690d4bab580a2432228d787..a6d267b0f9f3dc7c3f22f5466ac19fea98cd0bdd 100644 --- a/crates/project/src/lsp_store.rs +++ b/crates/project/src/lsp_store.rs @@ -4193,7 +4193,7 @@ impl LspStore { }) .detach(); } else { - panic!("oops!"); + // Our remote connection got closed } handle }