mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 02:51:49 +00:00
fix: backlight setting not applying on change
This commit is contained in:
parent
4dfa235f12
commit
d59fac61bb
6 changed files with 20 additions and 0 deletions
|
|
@ -237,6 +237,11 @@ namespace util {
|
|||
jobsMutexCondition.notify_one();
|
||||
}
|
||||
|
||||
void clearQueue() {
|
||||
std::lock_guard<std::mutex> lock(jobsMutex);
|
||||
jobs = {};
|
||||
}
|
||||
|
||||
/// @brief If false: worker will be blocked until it's result performed
|
||||
void setStandaloneResults(bool flag) {
|
||||
standaloneResults = flag;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue