Просмотр исходного кода

bin/taud: Runs the executor when start

ghassmo 4 лет назад
Родитель
Сommit
ab52c593e0
1 измененных файлов с 1 добавлено и 1 удалено
  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())))
 }