release _threadRunning if decompressVolumeDataAsync exits early

This commit is contained in:
Seth Alves 2015-08-28 11:04:56 -07:00
parent 1ac5c19f44
commit a5cd3ff046

View file

@ -757,6 +757,7 @@ void RenderablePolyVoxEntityItem::decompressVolumeDataAsync() {
_volDataLock.lockForWrite();
if (!_volData) {
_volDataLock.unlock();
_threadRunning.release();
return;
}
_volDataDirty = true;