diff options
author | bunnei <bunneidev@gmail.com> | 2020-10-26 16:09:15 -0700 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2020-10-26 16:09:15 -0700 |
commit | 54aabb00b05f64f4dd2721e0340bdef457c9e06c (patch) | |
tree | deef0cf11298f2f13153d189caeaabb800f0d898 /src/core/cpu_manager.cpp | |
parent | 2f6ba544831f4978302cbd690ca36296e1342663 (diff) |
core: cpu_manager: Add missing call to MicroProfileOnThreadExit().
- Fixes an occasional crash when trying to launch subsequent games.
Diffstat (limited to 'src/core/cpu_manager.cpp')
-rw-r--r-- | src/core/cpu_manager.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/cpu_manager.cpp b/src/core/cpu_manager.cpp index 688b99ebad..983210197a 100644 --- a/src/core/cpu_manager.cpp +++ b/src/core/cpu_manager.cpp @@ -365,6 +365,8 @@ void CpuManager::RunThread(std::size_t core) { data.enter_barrier.reset(); data.exit_barrier.reset(); data.initialized = false; + + MicroProfileOnThreadExit(); } } // namespace Core |