mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-03-20 19:51:04 +03: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:
@@ -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