浏览代码

bin/darkirc: add forgotten deg_task.stop()

dasman 2 年之前
父节点
当前提交
50e57cba54
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      bin/darkirc/src/main.rs

+ 1 - 0
bin/darkirc/src/main.rs

@@ -342,6 +342,7 @@ async fn realmain(args: Args, ex: Arc<Executor<'static>>) -> Result<()> {
     info!("Stopping JSON-RPC server");
     info!("Stopping JSON-RPC server");
     rpc_task.stop().await;
     rpc_task.stop().await;
     dnet_task.stop().await;
     dnet_task.stop().await;
+    deg_task.stop().await;
 
 
     info!("Stopping IRC server");
     info!("Stopping IRC server");
     irc_task.stop().await;
     irc_task.stop().await;