Fix missing condition wake.
authorCarl Hetherington <cth@carlh.net>
Fri, 23 Nov 2018 22:27:52 +0000 (22:27 +0000)
committerCarl Hetherington <cth@carlh.net>
Fri, 23 Nov 2018 22:27:52 +0000 (22:27 +0000)
src/lib/job_manager.cc

index d29138e9f44baca8e34045bba9e46bdb7631a651..5fcb7086cf4bf586170ed2a74e8b2cff4f1213e7 100644 (file)
@@ -69,6 +69,7 @@ JobManager::~JobManager ()
        {
                boost::mutex::scoped_lock lm (_mutex);
                _terminate = true;
+               _empty_condition.notify_all ();
        }
 
        if (_scheduler) {