Przeglądaj źródła

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

- Fixes an occasional crash when trying to launch subsequent games.
bunnei 5 lat temu
rodzic
commit
54aabb00b0
1 zmienionych plików z 2 dodań i 0 usunięć
  1. 2 0
      src/core/cpu_manager.cpp

+ 2 - 0
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