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({
Conrad Irwin created
Before this change the the load env task never completed, leading to the
node runtime lock being held permanently.
Release Notes:
- N/A
crates/zed/src/main.rs | 2 ++
1 file changed, 2 insertions(+)
@@ -309,6 +309,8 @@ fn main() {
shell_env_loaded_tx.send(()).ok();
})
.detach()
+ } else {
+ drop(shell_env_loaded_tx)
}
app.on_open_urls({