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