summaryrefslogtreecommitdiff
path: root/Source/Core/UICommon
diff options
context:
space:
mode:
authorDentomologist <dentomologist@gmail.com>2025-04-25 15:21:54 -0700
committerDentomologist <dentomologist@gmail.com>2025-04-25 16:00:43 -0700
commit45b9def42c25203c6a18478dcddd87ea543a7e2c (patch)
tree8a75cb23af8469174cf2fdc8114c2ee45d41e12a /Source/Core/UICommon
parentd0dc8ae5e1bfeec1dd3d19c5ddd532ac4156b66b (diff)
VideoConfig: Remove ConfigChangedCallback on shutdown
Diffstat (limited to 'Source/Core/UICommon')
-rw-r--r--Source/Core/UICommon/UICommon.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/Source/Core/UICommon/UICommon.cpp b/Source/Core/UICommon/UICommon.cpp
index f1e19d2292..309d563864 100644
--- a/Source/Core/UICommon/UICommon.cpp
+++ b/Source/Core/UICommon/UICommon.cpp
@@ -50,6 +50,9 @@
#include "UICommon/DiscordPresence.h"
#include "UICommon/USBUtils.h"
+#include "VideoCommon/VideoBackendBase.h"
+#include "VideoCommon/VideoConfig.h"
+
#ifdef HAVE_QTDBUS
#include "UICommon/DBusUtils.h"
#endif
@@ -58,8 +61,6 @@
#include <IOKit/pwr_mgt/IOPMLib.h>
#endif
-#include "VideoCommon/VideoBackendBase.h"
-
namespace UICommon
{
static Config::ConfigChangedCallbackID s_config_changed_callback_id;
@@ -152,6 +153,7 @@ void Shutdown()
WiimoteReal::Shutdown();
Common::Log::LogManager::Shutdown();
Discord::Shutdown();
+ g_Config.Shutdown();
SConfig::Shutdown();
Config::Shutdown();
}