mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-11-05 16:38:17 +00:00
1 parent
53e87352da
commit
fd12f69afa
6 files changed
+20
-16
No files matched your search
+3
-2
@@ -603,8 +603,9 @@ pub fn session_change_resolution(session_id: SessionID, display: i32, width: i32
|
||||
|
||||
pub fn session_handle_peer_info(session_id: SessionID) {
|
||||
if let Some(session) = SESSIONS.write().unwrap().get_mut(&session_id) {
|
||||
session.handle_peer_info(session.pi.clone());
|
||||
session.handle_peer_switch_display(&session.switch_display);
|
||||
let pi = session.pi.read().unwrap().clone();
|
||||
session.handle_peer_info(pi);
|
||||
session.handle_peer_switch_display(&session.switch_display.read().unwrap());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user