From ab52c593e0452e70f904dc379796a00a913403d6 Mon Sep 17 00:00:00 2001 From: ghassmo Date: Fri, 11 Mar 2022 01:07:35 +0400 Subject: [PATCH] bin/taud: Runs the executor when start --- bin/taud/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/taud/src/main.rs b/bin/taud/src/main.rs index 3f3d828f0..68ab5e7c3 100644 --- a/bin/taud/src/main.rs +++ b/bin/taud/src/main.rs @@ -263,5 +263,5 @@ async fn main() -> Result<()> { let config: TauConfig = Config::::load(config_path)?; let ex = Arc::new(Executor::new()); - smol::block_on(start(config, ex)) + smol::block_on(ex.run(start(config, ex.clone()))) }