diff options
| author | 2020-03-11 20:44:53 -0400 | |
|---|---|---|
| committer | 2020-06-27 11:35:47 -0400 | |
| commit | e6f8bde74b9476dced103c6c54ab81616d34b97e (patch) | |
| tree | 488d71b9de2368944b99b0a188adb84826f1167a /src/core/core_timing.cpp | |
| parent | Kernel: Rewind on SVC change. (diff) | |
| download | yuzu-e6f8bde74b9476dced103c6c54ab81616d34b97e.tar.gz yuzu-e6f8bde74b9476dced103c6c54ab81616d34b97e.tar.xz yuzu-e6f8bde74b9476dced103c6c54ab81616d34b97e.zip | |
General: Fix Stop function
Diffstat (limited to 'src/core/core_timing.cpp')
| -rw-r--r-- | src/core/core_timing.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/core_timing.cpp b/src/core/core_timing.cpp index c91ae9975..3438f79ce 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_) { | |||
| 61 | void CoreTiming::Shutdown() { | 61 | void CoreTiming::Shutdown() { |
| 62 | paused = true; | 62 | paused = true; |
| 63 | shutting_down = true; | 63 | shutting_down = true; |
| 64 | pause_event.Set(); | ||
| 64 | event.Set(); | 65 | event.Set(); |
| 65 | timer_thread->join(); | 66 | timer_thread->join(); |
| 66 | ClearPendingEvents(); | 67 | ClearPendingEvents(); |