From 94a19ca6702bceb6b70df0f6bac0445d7e68892e Mon Sep 17 00:00:00 2001 From: Silent Date: Mon, 24 Jun 2019 21:20:34 +0200 Subject: [PATCH] Qt/Updater: Fixed an assert on m_parent->close() (was called from a wrong thread) --- Source/Core/DolphinQt/Updater.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Source/Core/DolphinQt/Updater.cpp b/Source/Core/DolphinQt/Updater.cpp index 788c5d8c0f..9783642ce0 100644 --- a/Source/Core/DolphinQt/Updater.cpp +++ b/Source/Core/DolphinQt/Updater.cpp @@ -95,6 +95,11 @@ void Updater::OnUpdateAvailable(const NewVersionInformation& info) AutoUpdateChecker::RestartMode::RESTART_AFTER_UPDATE); if (!later) - m_parent->close(); + { + RunOnObject(m_parent, [this] { + m_parent->close(); + return 0; + }); + } } }