Browse Source

Wait a bit before exiting coordinator to ensure that destroy confirmation is sent out

tags/v0.2.0-candidate
Philipp Oppermann 2 years ago
parent
commit
cdcb19fe28
Failed to extract signature
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      binaries/coordinator/src/lib.rs

+ 4
- 0
binaries/coordinator/src/lib.rs View File

@@ -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(())
}



Loading…
Cancel
Save