dolphin-emulator/Source
Mihai Brodschi bad78cfed4 Core, VideoCommon: Fix crash at shutdown due to destructor ordering
Previously, PerformanceTracker registered a callback to be updated on
emulation state changes. PerformanceTrackers live in a global variable
(g_perf_metrics) within libvideocommon. The callback was stored in a
global variable in libcore. This created a race condition at shutdown
between these libraries, when the PerfTracker's destructor tried to
unregister the callback.
Notify the PerfTracker directly from libcore, without callbacks, since
Core.cpp already references g_perf_metrics explicitly. Also rename
Core::CallOnStateChangedCallbacks to NotifyStateChanged to better
reflect what it's doing.
2025-04-28 07:11:53 +03:00
..
Android Merge pull request #13506 from JosJuice/android-time-played 2025-04-25 01:43:53 +01:00
Core Core, VideoCommon: Fix crash at shutdown due to destructor ordering 2025-04-28 07:11:53 +03:00
DSPSpy Simplify std::fill with std::fill_n 2024-10-07 15:34:56 -07:00
DSPTool GDBStub: Signal Breakpoint Changes To Host 2024-11-15 15:12:11 -08:00
PCH
UnitTests Merge pull request #13451 from vyuuui/numeric_labels 2025-04-25 01:56:43 +01:00
VSProps Update rcheevos submodule to newest master 2025-04-13 08:05:59 -04:00
.clang-format
CMakeLists.txt CMake: don't enable -Wshadow-uncaptured-local 2025-02-21 02:51:32 +00:00
dolphin-emu.sln AudioCommon: Added Granular Synthesis 2025-03-14 01:22:35 -05:00