mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-04-03 19:31:30 +03:00
safe exit
This commit is contained in:
@@ -171,6 +171,7 @@ async fn handle(data: Data, stream: &mut Connection) {
|
||||
}
|
||||
Data::Close => {
|
||||
log::info!("Receive close message");
|
||||
crate::server::input_service::fix_key_down_timeout_at_exit();
|
||||
std::process::exit(0);
|
||||
}
|
||||
Data::OnlineStatus(_) => {
|
||||
|
||||
Reference in New Issue
Block a user