Explorar el Código

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

- Fixes an occasional crash when trying to launch subsequent games.
bunnei hace 5 años
padre
commit
54aabb00b0
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  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