mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-04-16 11:41:28 +03:00
add crate::platform::quit_gui(); for double sure
This commit is contained in:
@@ -381,6 +381,8 @@ async fn handle(data: Data, stream: &mut Connection) {
|
|||||||
}
|
}
|
||||||
// leave above open a little time
|
// leave above open a little time
|
||||||
hbb_common::sleep(0.3).await;
|
hbb_common::sleep(0.3).await;
|
||||||
|
// in case below exit failed
|
||||||
|
crate::platform::quit_gui();
|
||||||
}
|
}
|
||||||
std::process::exit(-1); // to make sure --server luauchagent process can restart because SuccessfulExit used
|
std::process::exit(-1); // to make sure --server luauchagent process can restart because SuccessfulExit used
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user