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 2025-11-07 07:56:19 +01:00 committed by GitHub
parent 00eafe63d9
commit de1bf64f41
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -4193,7 +4193,7 @@ impl LspStore {
})
.detach();
} else {
panic!("oops!");
// Our remote connection got closed
}
handle
}