fix 100% cpu usage of clipboard disabled on remote menu
This commit is contained in:
parent
1f4c62e480
commit
1252f45506
1 changed files with 1 additions and 0 deletions
|
|
@ -736,6 +736,7 @@ impl Client {
|
|||
break;
|
||||
}
|
||||
if !TEXT_CLIPBOARD_STATE.lock().unwrap().is_required {
|
||||
std::thread::sleep(Duration::from_millis(CLIPBOARD_INTERVAL));
|
||||
continue;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue