diff options
| author | 2020-10-26 16:09:15 -0700 | |
|---|---|---|
| committer | 2020-10-26 16:09:15 -0700 | |
| commit | 54aabb00b05f64f4dd2721e0340bdef457c9e06c (patch) | |
| tree | deef0cf11298f2f13153d189caeaabb800f0d898 /src/core/cpu_manager.cpp | |
| parent | Merge pull request #4827 from lioncash/trunc (diff) | |
| download | yuzu-54aabb00b05f64f4dd2721e0340bdef457c9e06c.tar.gz yuzu-54aabb00b05f64f4dd2721e0340bdef457c9e06c.tar.xz yuzu-54aabb00b05f64f4dd2721e0340bdef457c9e06c.zip | |
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 688b99eba..983210197 100644 --- a/src/core/cpu_manager.cpp +++ b/src/core/cpu_manager.cpp | |||
| @@ -365,6 +365,8 @@ void CpuManager::RunThread(std::size_t core) { | |||
| 365 | data.enter_barrier.reset(); | 365 | data.enter_barrier.reset(); |
| 366 | data.exit_barrier.reset(); | 366 | data.exit_barrier.reset(); |
| 367 | data.initialized = false; | 367 | data.initialized = false; |
| 368 | |||
| 369 | MicroProfileOnThreadExit(); | ||
| 368 | } | 370 | } |
| 369 | 371 | ||
| 370 | } // namespace Core | 372 | } // namespace Core |