Commit 3dbd4e95 authored by Benni Hill's avatar Benni Hill Committed by Aurélien Gâteau
Browse files

Stop thumbnailing when Gwenview exits.

This is important as it blocks unmounting of flash drives.

BUG: 302074
FIXED-IN: 2.9.1
parent 70e6a7cc
......@@ -424,6 +424,7 @@ ThumbnailLoadJob::~ThumbnailLoadJob()
if (!sThumbnailCache->isRunning()) {
sThumbnailCache->start();
}
sThumbnailCache->wait();
}
void ThumbnailLoadJob::start()
......
......@@ -329,6 +329,7 @@ ThumbnailView::ThumbnailView(QWidget* parent)
ThumbnailView::~ThumbnailView()
{
delete d->mThumbnailLoadJob;
delete d;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment