Skip to content

Commit

Permalink
core: shutdown running_core and reschedule_pending
Browse files Browse the repository at this point in the history
  • Loading branch information
Gamer64ytb committed Aug 18, 2024
1 parent 0f8970e commit 05ae6d6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/core/core.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -676,6 +676,9 @@ void System::Shutdown(bool is_deserializing) {
exclusive_monitor.reset();
timing.reset();

running_core = nullptr;
reschedule_pending = false;

if (video_dumper && video_dumper->IsDumping()) {
video_dumper->StopDumping();
}
Expand Down

0 comments on commit 05ae6d6

Please sign in to comment.