diff options
| author | Techjar <tecknojar@gmail.com> | 2018-11-30 01:20:22 -0500 |
|---|---|---|
| committer | Techjar <tecknojar@gmail.com> | 2018-11-30 01:20:22 -0500 |
| commit | baecc500e8a780d29ecec3c668d64b752a5efe23 (patch) | |
| tree | 98db8ee377a2e6f9153992a63be5fe7996d85ecd | |
| parent | d9cacf6f5a5c1b5b97e6b29f665ee15fdf38fc50 (diff) | |
Core: Notify state change callback about stopping state
| -rw-r--r-- | Source/Core/Core/Core.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/Core/Core/Core.cpp b/Source/Core/Core/Core.cpp index b5a4b13ce0..39c2c18fb3 100644 --- a/Source/Core/Core/Core.cpp +++ b/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(); |
