mirror of
https://github.com/weyne85/rustdesk.git
synced 2025-10-29 17:00:05 +00:00
fix, macos as the controlled side, crash on disconnect
Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
@@ -380,9 +380,6 @@ pub fn try_stop_record_cursor_pos() {
|
||||
return;
|
||||
}
|
||||
RECORD_CURSOR_POS_RUNNING.store(false, Ordering::SeqCst);
|
||||
|
||||
#[cfg(any(target_os = "windows", target_os = "macos"))]
|
||||
let _r = rdev::exit_grab();
|
||||
}
|
||||
|
||||
// mac key input must be run in main thread, otherwise crash on >= osx 10.15
|
||||
|
||||
Reference in New Issue
Block a user