mirror of
https://github.com/hyprwm/hyprlock.git
synced 2024-11-16 23:05:58 +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.requestMutex.lock();
|
||||||
|
|
||||||
|
asyncLoopState.pending = false;
|
||||||
|
|
||||||
if (asyncLoopState.requests.empty()) {
|
if (asyncLoopState.requests.empty()) {
|
||||||
asyncLoopState.requestMutex.unlock();
|
asyncLoopState.requestMutex.unlock();
|
||||||
continue;
|
continue;
|
||||||
|
|
Loading…
Reference in a new issue