mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 03:44:02 +02:00
Use correct resources lock
This commit is contained in:
parent
fc9de4b7e6
commit
cff5886313
1 changed files with 1 additions and 1 deletions
|
@ -255,7 +255,7 @@ void ResourceCache::resetResourceCounters() {
|
|||
}
|
||||
|
||||
void ResourceCache::removeResource(const QUrl& url, qint64 size) {
|
||||
QWriteLocker locker(&_unusedResourcesLock);
|
||||
QWriteLocker locker(&_resourcesLock);
|
||||
_resources.remove(url);
|
||||
_totalResourcesSize -= size;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue