Skip to content

Commit

Permalink
Interrupt running LogDataWorkerThread in dtor.
Browse files Browse the repository at this point in the history
  • Loading branch information
gin-ahirsch committed Jun 15, 2018
1 parent 004c9b1 commit 5a54dd6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/data/logdataworkerthread.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ LogDataWorkerThread::LogDataWorkerThread( IndexingData& indexing_data )

LogDataWorkerThread::~LogDataWorkerThread()
{
interruptRequest_.store( true, std::memory_order_relaxed );
{
QMutexLocker locker( &mutex_ );
terminate_ = true;
Expand Down

0 comments on commit 5a54dd6

Please sign in to comment.