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

This commit is contained in:
Albert S. 2021-03-07 22:26:30 +01:00
rodzic d3fe08b64b
commit e225fdad21

Wyświetl plik

@ -46,6 +46,7 @@ struct Renderer
result->setRenderHint(Poppler::Document::TextAntialiasing);
QMutexLocker locker(&cacheMutex);
documentcache.insert(path, result);
locker.unlock();
return result;
}