mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-03-17 18:21:02 +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:
@@ -481,7 +481,7 @@ pub async fn start_server(is_server: bool) {
|
||||
});
|
||||
input_service::fix_key_down_timeout_loop();
|
||||
#[cfg(target_os = "linux")]
|
||||
if crate::platform::current_is_wayland() {
|
||||
if input_service::wayland_use_uinput() {
|
||||
allow_err!(input_service::setup_uinput(0, 1920, 0, 1080).await);
|
||||
}
|
||||
#[cfg(any(target_os = "macos", target_os = "linux"))]
|
||||
|
||||
Reference in New Issue
Block a user