mirror of
https://github.com/hyprwm/hyprlock.git
synced 2024-12-22 13:29:48 +01:00
parent
013dfadee7
commit
debfe716e8
1 changed files with 2 additions and 0 deletions
|
@ -200,6 +200,8 @@ void CAsyncResourceGatherer::asyncAssetSpinLock() {
|
|||
|
||||
asyncLoopState.requestMutex.lock();
|
||||
|
||||
asyncLoopState.pending = false;
|
||||
|
||||
if (asyncLoopState.requests.empty()) {
|
||||
asyncLoopState.requestMutex.unlock();
|
||||
continue;
|
||||
|
|
Loading…
Reference in a new issue