mirror of
https://github.com/overte-org/overte.git
synced 2025-08-10 10:13:15 +02:00
release _threadRunning if decompressVolumeDataAsync exits early
This commit is contained in:
parent
1ac5c19f44
commit
a5cd3ff046
1 changed files with 1 additions and 0 deletions
|
@ -757,6 +757,7 @@ void RenderablePolyVoxEntityItem::decompressVolumeDataAsync() {
|
||||||
_volDataLock.lockForWrite();
|
_volDataLock.lockForWrite();
|
||||||
if (!_volData) {
|
if (!_volData) {
|
||||||
_volDataLock.unlock();
|
_volDataLock.unlock();
|
||||||
|
_threadRunning.release();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
_volDataDirty = true;
|
_volDataDirty = true;
|
||||||
|
|
Loading…
Reference in a new issue