aboutsummaryrefslogtreecommitdiff
path: root/src/core/core_timing.cpp
diff options
context:
space:
mode:
authorFernando Sahmkow <fsahmkow27@gmail.com>2020-03-11 20:44:53 -0400
committerFernando Sahmkow <fsahmkow27@gmail.com>2020-06-27 11:35:47 -0400
commite6f8bde74b9476dced103c6c54ab81616d34b97e (patch)
tree488d71b9de2368944b99b0a188adb84826f1167a /src/core/core_timing.cpp
parentf370de84b16f9d668b7d5dcc0fd851264e2e6144 (diff)
General: Fix Stop function
Diffstat (limited to 'src/core/core_timing.cpp')
-rw-r--r--src/core/core_timing.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/core_timing.cpp b/src/core/core_timing.cpp
index c91ae99759..3438f79cee 100644
--- a/src/core/core_timing.cpp
+++ b/src/core/core_timing.cpp
@@ -61,6 +61,7 @@ void CoreTiming::Initialize(std::function<void(void)>&& on_thread_init_) {
void CoreTiming::Shutdown() {
paused = true;
shutting_down = true;
+ pause_event.Set();
event.Set();
timer_thread->join();
ClearPendingEvents();