close all connections if cm exit unexpected, and allow retry

Signed-off-by: 21pages <pages21@163.com>
This commit is contained in:
21pages
2023-11-07 17:19:33 +08:00
parent 557773144b
commit 36b574a5f8
2 changed files with 24 additions and 9 deletions

View File

@@ -236,6 +236,7 @@ pub enum Data {
FileTransferLog((String, String)),
#[cfg(windows)]
ControlledSessionCount(usize),
CmErr(String),
}
#[tokio::main(flavor = "current_thread")]