forked from ShuriZma/suyu
1
0
Fork 0

core: cpu_manager: Add missing call to MicroProfileOnThreadExit().

- Fixes an occasional crash when trying to launch subsequent games.
This commit is contained in:
bunnei 2020-10-26 16:09:15 -07:00
parent 2f6ba54483
commit 54aabb00b0
1 changed files with 2 additions and 0 deletions

View File

@ -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