Fix. sciter, switch display. Close unused display services after switching. (#6962)
Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
parent
71d7398ae7
commit
2118b6dd7d
@ -723,6 +723,11 @@ impl<T: InvokeUiSession> Session<T> {
|
|||||||
let mut msg_out = Message::new();
|
let mut msg_out = Message::new();
|
||||||
msg_out.set_misc(misc);
|
msg_out.set_misc(misc);
|
||||||
self.send(Data::Message(msg_out));
|
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")))]
|
#[cfg(not(any(target_os = "android", target_os = "ios")))]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user