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 ...
This commit is contained in:
Lukas Wirth authored and GitHub committed 2025-11-07 06:56:19 +00:00
1 parent 00eafe63d9
commit de1bf64f41
1 file changed
+1 -1
+1 -1
View File
@@ -4193,7 +4193,7 @@ impl LspStore {
})
.detach();
} else {
panic!("oops!");
// Our remote connection got closed
}
handle
}