gui: pdfworker: Explicitly unlock mutex, don't wait for destructor
This commit is contained in:
父節點
d3fe08b64b
當前提交
e225fdad21
@ -46,6 +46,7 @@ struct Renderer
|
||||
result->setRenderHint(Poppler::Document::TextAntialiasing);
|
||||
QMutexLocker locker(&cacheMutex);
|
||||
documentcache.insert(path, result);
|
||||
locker.unlock();
|
||||
return result;
|
||||
}
|
||||
|
||||
|
載入中…
新增問題並參考
Block a user