diff options
Diffstat (limited to 'src/widgets/dialogs/qfileinfogatherer.cpp')
-rw-r--r-- | src/widgets/dialogs/qfileinfogatherer.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/widgets/dialogs/qfileinfogatherer.cpp b/src/widgets/dialogs/qfileinfogatherer.cpp index 0f12c2b80e..c06ef0c474 100644 --- a/src/widgets/dialogs/qfileinfogatherer.cpp +++ b/src/widgets/dialogs/qfileinfogatherer.cpp @@ -94,7 +94,9 @@ QFileInfoGatherer::QFileInfoGatherer(QObject *parent) QFileInfoGatherer::~QFileInfoGatherer() { abort.store(true); + QMutexLocker locker(&mutex); condition.wakeAll(); + locker.unlock(); wait(); } |