mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-04-01 22:41:29 +03:00
patch: fix server file_transfer not enabled
Signed-off-by: ClSlaid <cailue@bupt.edu.cn>
This commit is contained in:
@@ -126,7 +126,8 @@ impl SysClipboard for X11Clipboard {
|
||||
};
|
||||
|
||||
if self.is_stopped() {
|
||||
break;
|
||||
std::thread::sleep(std::time::Duration::from_millis(100));
|
||||
continue;
|
||||
}
|
||||
|
||||
let Some(paths) = sth else {
|
||||
@@ -162,6 +163,7 @@ impl SysClipboard for X11Clipboard {
|
||||
|
||||
if let Err(e) = send_format_list(0) {
|
||||
log::warn!("failed to send format list: {}", e);
|
||||
break;
|
||||
}
|
||||
|
||||
std::thread::sleep(std::time::Duration::from_millis(100));
|
||||
|
||||
Reference in New Issue
Block a user