From 5a54dd652ab88a1ba75bd458789be9341b66ef2d Mon Sep 17 00:00:00 2001 From: Alexander Hirsch Date: Fri, 15 Jun 2018 09:37:48 +0200 Subject: [PATCH] Interrupt running LogDataWorkerThread in dtor. --- src/data/logdataworkerthread.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/data/logdataworkerthread.cpp b/src/data/logdataworkerthread.cpp index 49069de25..44f06040a 100644 --- a/src/data/logdataworkerthread.cpp +++ b/src/data/logdataworkerthread.cpp @@ -92,6 +92,7 @@ LogDataWorkerThread::LogDataWorkerThread( IndexingData& indexing_data ) LogDataWorkerThread::~LogDataWorkerThread() { + interruptRequest_.store( true, std::memory_order_relaxed ); { QMutexLocker locker( &mutex_ ); terminate_ = true;