mirror of
https://github.com/weyne85/rustdesk.git
synced 2025-10-29 17:00:05 +00:00
@@ -319,7 +319,6 @@ pub fn session_enter_or_leave(id: String, enter: bool) {
|
||||
#[cfg(not(any(target_os = "android", target_os = "ios")))]
|
||||
if let Some(session) = SESSIONS.read().unwrap().get(&id) {
|
||||
if enter {
|
||||
crate::keyboard::set_cur_session(session.clone());
|
||||
session.enter();
|
||||
} else {
|
||||
session.leave();
|
||||
|
||||
Reference in New Issue
Block a user