tokio1, windows not test yet

This commit is contained in:
rustdesk committed 2021-06-25 19:42:51 +08:00
1 parent 25a83f6b4a
commit dc3fcda2c9
23 files changed
+169 -154

No files matched your search

+1 -1
View File
@@ -595,7 +595,7 @@ pub fn check_zombie(childs: Childs) {
// notice: avoiding create ipc connecton repeatly,
// because windows named pipe has serious memory leak issue.
#[tokio::main(basic_scheduler)]
#[tokio::main(flavor = "current_thread")]
async fn check_connect_status_(
reconnect: bool,
status: Arc<Mutex<(i32, bool)>>,