Quellcode durchsuchen

bin/taud: Runs the executor when start

ghassmo vor 4 Jahren
Ursprung
Commit
ab52c593e0
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  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())))
 }