mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-11-04 16:35:19 +00:00
fix: crash, drop tokio RunTime in async context (#9091)
* fix: crash, drop tokio RunTime in async context Signed-off-by: fufesou <linlong1266@gmail.com> * chore Signed-off-by: fufesou <linlong1266@gmail.com> --------- Signed-off-by: fufesou <linlong1266@gmail.com>
This commit is contained in:
1 parent
ed18e3c786
commit
f31e60af5b
4 files changed
+47
-31
No files matched your search
@@ -1320,7 +1320,7 @@ impl Connection {
|
||||
#[cfg(target_os = "linux")]
|
||||
{
|
||||
// use rdp_input when uinput is not available in wayland. Ex: flatpak
|
||||
if !is_x11() && !crate::is_server() {
|
||||
if input_service::wayland_use_rdp_input() {
|
||||
let _ = setup_rdp_input().await;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user