diff --git a/src/extension/ChronoController.cpp b/src/extension/ChronoController.cpp index d32e758c..f7c01bf3 100644 --- a/src/extension/ChronoController.cpp +++ b/src/extension/ChronoController.cpp @@ -90,8 +90,8 @@ namespace extension { // When we shutdown we notify so we quit now on().then("Shutdown Chrono Controller", [this] { - const std::lock_guard lock(mutex); running.store(false, std::memory_order_release); + const std::lock_guard lock(mutex); wait.notify_all(); });