From 07942bf422130e5455f0ae0155bbf2979852ad6b Mon Sep 17 00:00:00 2001 From: Peter Johnson Date: Sat, 5 Sep 2015 10:55:24 -0700 Subject: [PATCH] Notifier: fix Stop() so it actually notifies the thread. --- src/Notifier.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Notifier.cpp b/src/Notifier.cpp index 752fbf9731..ec52f48f6a 100644 --- a/src/Notifier.cpp +++ b/src/Notifier.cpp @@ -29,7 +29,7 @@ void Notifier::Start() { void Notifier::Stop() { m_active = false; // send notification so the thread terminates - NotifyEntry("", nullptr, false); + m_cond.notify_one(); if (m_thread.joinable()) m_thread.join(); }