diff --git a/src/scheduler.cpp b/src/scheduler.cpp index 4f1d8be7c0b..c42eb7244d5 100644 --- a/src/scheduler.cpp +++ b/src/scheduler.cpp @@ -29,8 +29,6 @@ void CScheduler::serviceQueue() { boost::unique_lock lock(newTaskMutex); ++nThreadsServicingQueue; - stopRequested = false; - stopWhenEmpty = false; // newTaskMutex is locked throughout this loop EXCEPT // when the thread is waiting or when the user's function