gui: pdfworker: Explicitly unlock mutex, don't wait for destructor

Esse commit está contido em:
Albert S. 2021-03-07 22:26:30 +01:00
commit e225fdad21

Ver arquivo

@ -46,6 +46,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;
} }