Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Fix LSP violation when dismissing server notifications (#23531)
Kirill Bulatov95c045ad9396
diff --git a/crates/project/src/lsp_store.rs b/crates/project/src/lsp_store.rsindex d887853ef4f..801e87fc383 100644--- a/crates/project/src/lsp_store.rs+++ b/crates/project/src/lsp_store.rs@@ -792,9 +792,8 @@ impl LocalLspStore {}).is_ok();if did_update {- let response = rx.recv().await?;-- Ok(Some(response))+ let response = rx.recv().await.ok();+ Ok(response)} else {Ok(None)}