Core: Notify state change callback about stopping state

This commit is contained in:
Techjar 2018-11-30 01:20:22 -05:00
parent d9cacf6f5a
commit baecc500e8

View file

@ -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();