summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinQt/MainWindow.cpp
diff options
context:
space:
mode:
authorLillyJadeKatrin <lilly.kitty.1988@gmail.com>2025-05-17 08:27:22 -0400
committerLillyJadeKatrin <lilly.kitty.1988@gmail.com>2025-05-17 08:29:50 -0400
commitb6803d00fecd599e4d7e29ca9757e793f79afc09 (patch)
treeb07ac148f7c424e08a9c554bfb9fe6f23c2aac8d /Source/Core/DolphinQt/MainWindow.cpp
parent137e50dc25d67879ebf2827e3fd5cc754d4d19d7 (diff)
Revert "RetroAchievements: Fix potential deadlock on shutdown."
This reverts commit 826f04d06c89011fa7e47531111ee90b27344c8a.
Diffstat (limited to 'Source/Core/DolphinQt/MainWindow.cpp')
-rw-r--r--Source/Core/DolphinQt/MainWindow.cpp4
1 files changed, 1 insertions, 3 deletions
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<BootParameters> boo
NetPlayInit();
#ifdef USE_RETRO_ACHIEVEMENTS
- AchievementManager::GetInstance().Init(reinterpret_cast<void*>(winId()), [this](auto func) {
- QueueOnObject(this, std::move(func));
- });
+ AchievementManager::GetInstance().Init(reinterpret_cast<void*>(winId()));
if (AchievementManager::GetInstance().IsHardcoreModeActive())
Settings::Instance().SetDebugModeEnabled(false);
// This needs to trigger on both RA_HARDCORE_ENABLED and RA_ENABLED