Przeglądaj źródła

bin/taud: Runs the executor when start

ghassmo 4 lat temu
rodzic
commit
ab52c593e0
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      bin/taud/src/main.rs

+ 1 - 1
bin/taud/src/main.rs

@@ -263,5 +263,5 @@ async fn main() -> Result<()> {
     let config: TauConfig = Config::<TauConfig>::load(config_path)?;
 
     let ex = Arc::new(Executor::new());
-    smol::block_on(start(config, ex))
+    smol::block_on(ex.run(start(config, ex.clone())))
 }