mirror of
https://github.com/Zedfrigg/ironbar.git
synced 2025-08-17 14:51:04 +02:00
Merge pull request #835 from JakeStanger/fix/keys-cpu
fix(keys): high cpu usage
This commit is contained in:
commit
b296726aa4
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