mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-11-04 16:35:19 +00:00
fix 100% cpu usage of clipboard disabled on remote menu
This commit is contained in:
1 parent
1f4c62e480
commit
1252f45506
1 file changed
+1
@@ -736,6 +736,7 @@ impl Client {
|
||||
break;
|
||||
}
|
||||
if !TEXT_CLIPBOARD_STATE.lock().unwrap().is_required {
|
||||
std::thread::sleep(Duration::from_millis(CLIPBOARD_INTERVAL));
|
||||
continue;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user