This commit is contained in:
Nathan Sobo 2023-11-02 07:46:49 -06:00
parent d4e199cab1
commit 52e195b47c
4 changed files with 118 additions and 108 deletions

View file

@ -141,7 +141,8 @@ pub async fn handle_cli_connection(
}),
)
.detach();
});
})
.ok();
item_release_futures.push(released.1);
}
Some(Err(err)) => {
@ -170,7 +171,6 @@ pub async fn handle_cli_connection(
let _ = done_tx.send(());
})
});
drop(workspace);
let _ = done_rx.await;
} else {
let _ = futures::future::try_join_all(item_release_futures)