gui: pdfworker: Explicitly unlock mutex, don't wait for destructor
This commit is contained in:
parent
4c2967a547
commit
0b321e0de1
@ -47,6 +47,7 @@ struct Renderer
|
|||||||
result->setRenderHint(Poppler::Document::TextAntialiasing);
|
result->setRenderHint(Poppler::Document::TextAntialiasing);
|
||||||
QMutexLocker locker(&cacheMutex);
|
QMutexLocker locker(&cacheMutex);
|
||||||
documentcache.insert(path, result);
|
documentcache.insert(path, result);
|
||||||
|
locker.unlock();
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user