aboutsummaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2020-10-26 16:09:15 -0700
committerbunnei <bunneidev@gmail.com>2020-10-26 16:09:15 -0700
commit321fbec267cee117d7de2168d081a5fd34891a5c (patch)
treedeef0cf11298f2f13153d189caeaabb800f0d898 /src/core
parent77894160429d7054eaa7269bcad7c61246d115b4 (diff)
core: cpu_manager: Add missing call to MicroProfileOnThreadExit().
- Fixes an occasional crash when trying to launch subsequent games.
Diffstat (limited to 'src/core')
-rw-r--r--src/core/cpu_manager.cpp2
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