Try to fix thumbbrowser deadlock (#4576)

This commit is contained in:
Flössie
2018-06-27 20:11:18 +02:00
parent 702a88f784
commit f9c0669c42
4 changed files with 58 additions and 59 deletions

View File

@@ -211,19 +211,8 @@ void FileBrowserEntry::procParamsChanged (Thumbnail* thm, int whoChangedIt)
void FileBrowserEntry::updateImage (rtengine::IImage8* img, double scale, rtengine::procparams::CropParams cropParams)
{
{
GThreadLock lock;
if ( feih == nullptr ||
feih->destroyed ) {
img->free();
return;
}
redrawRequests++;
feih->pending++;
}
redrawRequests++;
feih->pending++;
struct tiupdate {
FileBrowserEntryIdleHelper* feih;