Fix deadlock loading node from the command line (#30561)
Before this change the the load env task never completed, leading to the node runtime lock being held permanently. Release Notes: - N/A
This commit is contained in:
parent
a1d8e50ec1
commit
196586e352
1 changed files with 2 additions and 0 deletions
|
@ -309,6 +309,8 @@ fn main() {
|
|||
shell_env_loaded_tx.send(()).ok();
|
||||
})
|
||||
.detach()
|
||||
} else {
|
||||
drop(shell_env_loaded_tx)
|
||||
}
|
||||
|
||||
app.on_open_urls({
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue