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

Šī revīzija ir iekļauta:
Albert S. 2021-03-07 22:26:30 +01:00
vecāks d3fe08b64b
revīzija e225fdad21

Parādīt failu

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