Files
dolphin/Source/Core/Core
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
..
2025-03-08 15:41:53 -05:00
2025-03-08 15:41:53 -05:00
2025-04-21 22:05:25 +10:00
2025-03-15 07:57:16 -04:00
2025-02-25 06:42:13 +01:00
2025-04-21 21:57:49 +02:00
2025-04-21 21:57:49 +02:00
2025-04-21 22:05:25 +10:00