Skip to content

Commit

Permalink
Fix. sciter, switch display. Close unused display services after swit…
Browse files Browse the repository at this point in the history
…ching. (rustdesk#6962)

Signed-off-by: fufesou <[email protected]>
  • Loading branch information
fufesou authored Jan 23, 2024
1 parent 71d7398 commit 2118b6d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/ui_session_interface.rs
Original file line number Diff line number Diff line change
Expand Up @@ -723,6 +723,11 @@ impl<T: InvokeUiSession> Session<T> {
let mut msg_out = Message::new();
msg_out.set_misc(misc);
self.send(Data::Message(msg_out));

#[cfg(not(feature = "flutter"))]
{
self.capture_displays(vec![], vec![], vec![display]);
}
}

#[cfg(not(any(target_os = "android", target_os = "ios")))]
Expand Down

0 comments on commit 2118b6d

Please sign in to comment.