Permalink
Browse files

Core: Notify state change callback about stopping state

  • Loading branch information...
Techjar committed Nov 30, 2018
1 parent d9cacf6 commit baecc500e8a780d29ecec3c668d64b752a5efe23
Showing with 4 additions and 0 deletions.
  1. +4 −0 Source/Core/Core/Core.cpp
@@ -242,6 +242,10 @@ void Stop() // - Hammertime!
s_is_stopping = true;
// Notify state changed callback
if (s_on_state_changed_callback)
s_on_state_changed_callback(State::Stopping);
// Dump left over jobs
HostDispatchJobs();

0 comments on commit baecc50

Please sign in to comment.