From 134746af1045b80b4ff291b49050557f5970d163 Mon Sep 17 00:00:00 2001 From: Ilia Ryabokon Date: Mon, 20 Aug 2012 18:24:14 +0300 Subject: [PATCH] Sankore-1021 safe thread termination --- src/board/UBFeaturesController.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/board/UBFeaturesController.cpp b/src/board/UBFeaturesController.cpp index 3750685d..b13b7312 100644 --- a/src/board/UBFeaturesController.cpp +++ b/src/board/UBFeaturesController.cpp @@ -160,7 +160,7 @@ void UBFeaturesComputingThread::run() emit scanFinished(); mMutex.lock(); - if (!restart) { + if (!abort) { mWaitCondition.wait(&mMutex); } restart = false;