Sankore-1021 safe thread termination

preferencesAboutTextFull
Ilia Ryabokon 12 years ago
parent 4c1e1ee95c
commit 134746af10
  1. 2
      src/board/UBFeaturesController.cpp

@ -160,7 +160,7 @@ void UBFeaturesComputingThread::run()
emit scanFinished(); emit scanFinished();
mMutex.lock(); mMutex.lock();
if (!restart) { if (!abort) {
mWaitCondition.wait(&mMutex); mWaitCondition.wait(&mMutex);
} }
restart = false; restart = false;

Loading…
Cancel
Save