dolphin/Source/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
..
AudioCommon AudioCommon: Make cubeb sound backend default on Linux. 2025-04-21 16:25:40 -05:00
Common Config: Add [[nodiscard]] to AddConfigChangedCallback 2025-04-25 16:04:12 -07:00
Core Core, VideoCommon: Fix crash at shutdown due to destructor ordering 2025-04-28 07:11:53 +03:00
DiscIO Merge pull request #13540 from tygyh/DiscIO-Remove-redundant-qualifiers 2025-04-22 20:00:03 -05:00
DolphinNoGUI Merge pull request #13181 from tygyh/Replace-'reinterpret_cast' 2025-03-15 15:31:38 +01:00
DolphinQt Settings: Remove ConfigChangedCallback on shutdown 2025-04-25 16:00:19 -07:00
DolphinTool DolphinTool: Make parameter constant 2025-04-23 15:55:48 +02:00
InputCommon Merge pull request #13476 from jordan-woyak/sdl-header 2025-04-25 01:49:52 +01:00
MacUpdater Simplify std::find_if with std::ranges::find and projections 2025-03-09 13:26:35 -07:00
UICommon VideoConfig: Remove ConfigChangedCallback on shutdown 2025-04-25 16:00:43 -07:00
UpdaterCommon
VideoBackends MTLUtil: Remove availability check for iOS 13 2025-04-21 00:24:58 -04:00
VideoCommon Core, VideoCommon: Fix crash at shutdown due to destructor ordering 2025-04-28 07:11:53 +03:00
WinUpdater Simplify std::find_if with std::ranges::find and projections 2025-03-09 13:26:35 -07:00
CMakeLists.txt
DolphinLib.ARM64.props
DolphinLib.props Merge pull request #13476 from jordan-woyak/sdl-header 2025-04-25 01:49:52 +01:00
DolphinLib.vcxproj AudioCommon: Added Granular Synthesis 2025-03-14 01:22:35 -05:00
DolphinLib.vcxproj.user
DolphinLib.x64.props
VersionInfo.plist.in