完善1.2.2

This commit is contained in:
lubeilin
2023-09-03 20:58:48 +08:00
parent a943f5bffc
commit 954f0d2d05
7 changed files with 57 additions and 29 deletions
+4 -3
View File
@@ -424,8 +424,9 @@ async fn main0(config: Config, show_cmd: bool) {
}
}
}
#[cfg(unix)]
tokio::select! {
}
#[cfg(unix)]
tokio::select! {
_ = vnt.wait_stop()=>{
return;
}
@@ -439,8 +440,8 @@ async fn main0(config: Config, show_cmd: bool) {
vnt.wait_stop_ms(std::time::Duration::from_secs(3)).await;
return;
}
}
}
#[cfg(windows)]
vnt.wait_stop().await;
}