refact, separate window, debug

Signed-off-by: dignow <linlong1265@gmail.com>
This commit is contained in:
dignow
2023-08-05 15:02:35 +08:00
parent 01ab0cf196
commit 30c2c92970
2 changed files with 10 additions and 3 deletions

View File

@@ -1291,7 +1291,12 @@ impl<T: InvokeUiSession> Remote<T> {
Some(misc::Union::SwitchDisplay(s)) => {
#[cfg(feature = "flutter")]
{
self.handler.cache_flutter.write().unwrap().sp = s.clone();
self.handler
.cache_flutter
.write()
.unwrap()
.sp
.replace(s.clone());
}
self.handler.handle_peer_switch_display(&s);
self.video_sender.send(MediaData::Reset).ok();