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-04-22 18:19:32 -05:00
2025-04-22 16:02:16 -05:00
2025-01-17 22:21:39 -06:00
2025-01-01 09:52:03 -08:00
2025-03-09 13:26:35 -07:00
2024-10-15 17:08:55 +02:00
2025-03-09 13:26:35 -07:00
2025-04-28 07:11:53 +03:00
2025-04-23 23:25:34 -05:00
2025-04-28 07:11:53 +03:00
2025-04-26 10:36:09 +02:00
2025-04-25 15:29:29 -07:00
2025-03-15 07:57:16 -04:00
2025-03-15 07:57:16 -04:00
2022-12-11 08:59:18 +01:00
2021-07-05 04:35:56 +02:00
2025-03-08 15:41:53 -05:00
2025-03-08 15:41:53 -05:00
2021-12-10 14:49:57 -08:00
2021-09-15 19:05:48 +02:00
2024-06-06 08:26:20 +02:00
2024-08-20 14:59:54 +02:00
2025-04-21 21:25:35 +02:00
2023-09-03 15:56:02 -04:00
2025-04-21 22:05:25 +10:00
2025-04-21 22:05:25 +10:00
2025-04-28 07:11:53 +03:00
2025-04-28 07:11:53 +03:00
2025-04-07 17:57:56 -04:00
2025-04-22 23:49:32 -05:00
2024-08-20 14:59:54 +02:00
2025-04-25 16:04:12 -07:00
2025-03-17 20:46:24 -05:00
2025-02-13 17:39:54 -06:00
2024-01-08 10:23:28 +01:00
2024-01-08 10:23:28 +01:00
2025-04-25 16:00:43 -07:00
2025-04-25 16:00:43 -07:00
2025-04-25 16:00:43 -07:00
2023-10-01 18:47:49 +02:00
2025-03-15 07:57:16 -04:00
2025-03-15 07:57:16 -04:00
2025-01-07 23:02:13 -05:00
2025-01-07 23:02:13 -05:00
2024-11-15 15:12:11 -08:00
2024-10-10 15:28:11 -07:00
2024-07-06 07:36:31 -04:00
2022-06-08 15:29:11 -07:00
2022-06-08 15:29:11 -07:00
2024-05-22 14:32:37 -04:00
2023-03-28 03:47:51 +02:00
2023-03-26 14:38:07 +02:00
2022-05-19 12:26:41 -07:00
2025-03-15 16:48:05 -05:00
2025-03-10 18:16:49 -05:00
2025-03-23 15:56:13 -04:00
2025-04-22 23:49:32 -05:00
2025-02-25 06:42:13 +01:00
2022-08-09 16:26:52 -06:00
2025-03-17 20:46:24 -05:00
2025-04-02 20:06:10 +02:00
2025-04-22 23:49:32 -05:00
2024-11-08 07:26:47 +01:00
2023-11-23 22:07:44 +04:00
2025-03-15 07:57:16 -04:00
2024-10-16 02:58:03 +01:00
2025-04-22 16:30:51 -05:00
2025-04-19 17:29:56 -05:00
2023-12-11 19:39:55 -05:00
2025-03-09 13:26:35 -07:00
2021-07-05 04:35:56 +02:00
2025-04-21 21:57:49 +02:00
2025-04-21 21:57:49 +02:00
2025-04-12 15:20:49 +02:00
2025-04-12 15:20:49 +02:00
2025-04-21 22:05:25 +10:00
2025-04-21 22:05:25 +10:00
2025-01-01 09:52:03 -08:00
2023-12-14 14:24:49 -05:00
2024-02-07 22:07:30 +01:00
2021-11-22 01:33:45 +01:00
2025-03-09 13:26:35 -07:00
2023-07-14 05:24:29 +02:00