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

Tá an tiomantas seo le fáil i:
Albert S. 2021-03-07 22:26:30 +01:00
tuismitheoir d3fe08b64b
tiomantas e225fdad21

Féach ar an gComhad

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