From b6803d00fecd599e4d7e29ca9757e793f79afc09 Mon Sep 17 00:00:00 2001 From: LillyJadeKatrin Date: Sat, 17 May 2025 08:27:22 -0400 Subject: Revert "RetroAchievements: Fix potential deadlock on shutdown." This reverts commit 826f04d06c89011fa7e47531111ee90b27344c8a. --- Source/Core/DolphinQt/MainWindow.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'Source/Core/DolphinQt/MainWindow.cpp') diff --git a/Source/Core/DolphinQt/MainWindow.cpp b/Source/Core/DolphinQt/MainWindow.cpp index 7ed9a3948c..99d38e4d6d 100644 --- a/Source/Core/DolphinQt/MainWindow.cpp +++ b/Source/Core/DolphinQt/MainWindow.cpp @@ -274,9 +274,7 @@ MainWindow::MainWindow(Core::System& system, std::unique_ptr boo NetPlayInit(); #ifdef USE_RETRO_ACHIEVEMENTS - AchievementManager::GetInstance().Init(reinterpret_cast(winId()), [this](auto func) { - QueueOnObject(this, std::move(func)); - }); + AchievementManager::GetInstance().Init(reinterpret_cast(winId())); if (AchievementManager::GetInstance().IsHardcoreModeActive()) Settings::Instance().SetDebugModeEnabled(false); // This needs to trigger on both RA_HARDCORE_ENABLED and RA_ENABLED -- cgit v1.2.3