Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Fix deadlock loading node from the command line (#30561)

Conrad Irwin196586e3528c
diff --git a/crates/zed/src/main.rs b/crates/zed/src/main.rs
index 946aa81a224..dac531133b7 100644
--- a/crates/zed/src/main.rs
+++ b/crates/zed/src/main.rs
@@ -309,6 +309,8 @@ fn main() {
shell_env_loaded_tx.send(()).ok();
})
.detach()
+ } else {
+ drop(shell_env_loaded_tx)
}
app.on_open_urls({