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 4c2967a547
revīzija 0b321e0de1

Parādīt failu

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