diff --git a/binaries/coordinator/src/lib.rs b/binaries/coordinator/src/lib.rs index 60b67f98..6cee74f4 100644 --- a/binaries/coordinator/src/lib.rs +++ b/binaries/coordinator/src/lib.rs @@ -51,6 +51,10 @@ pub async fn run(args: Args) -> eyre::Result<()> { // start in daemon mode start(&runtime_path).await?; + // wait a bit before exiting to allow the background control connection threads to send + // out a destroy confirmation to the CLI (if any) + tokio::time::sleep(Duration::from_secs(1)).await; + Ok(()) }