mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-04-01 01:21:06 +03:00
refact: restore terminals (#12334)
Signed-off-by: fufesou <linlong1266@gmail.com>
This commit is contained in:
@@ -1119,6 +1119,9 @@ impl InvokeUiSession for FlutterHandler {
|
||||
("pid", json!(opened.pid)),
|
||||
("service_id", json!(&opened.service_id)),
|
||||
];
|
||||
if !opened.persistent_sessions.is_empty() {
|
||||
event_data.push(("persistent_sessions", json!(opened.persistent_sessions)));
|
||||
}
|
||||
self.push_event_("terminal_response", &event_data, &[], &[]);
|
||||
}
|
||||
Some(Union::Data(data)) => {
|
||||
|
||||
Reference in New Issue
Block a user