VideoConfig: Remove ConfigChangedCallback on shutdown

This commit is contained in:
Dentomologist
2025-04-25 15:21:54 -07:00
parent d0dc8ae5e1
commit 45b9def42c
3 changed files with 23 additions and 7 deletions

View File

@ -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();
}