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

Tento commit je obsažen v:
Albert S. 2021-03-07 22:26:30 +01:00
rodič d3fe08b64b
revize e225fdad21

Zobrazit soubor

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