mirror of
https://github.com/Zedfrigg/ironbar.git
synced 2025-08-17 14:51:04 +02:00
parent
0b4d868134
commit
e0bae2c0af
1 changed files with 3 additions and 0 deletions
|
@ -217,6 +217,9 @@ impl Client {
|
|||
_ => {}
|
||||
}
|
||||
}
|
||||
|
||||
// we need to sleep for a short period to avoid hogging cpu
|
||||
std::thread::sleep(Duration::from_millis(20));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue