mirror of https://github.com/hyprwm/hyprlock.git
parent
013dfadee7
commit
debfe716e8
|
@ -200,6 +200,8 @@ void CAsyncResourceGatherer::asyncAssetSpinLock() {
|
|||
|
||||
asyncLoopState.requestMutex.lock();
|
||||
|
||||
asyncLoopState.pending = false;
|
||||
|
||||
if (asyncLoopState.requests.empty()) {
|
||||
asyncLoopState.requestMutex.unlock();
|
||||
continue;
|
||||
|
|
Loading…
Reference in New Issue