Skip to content
Permalink
Browse files

Qt/Updater: Fixed an assert on m_parent->close() (was called from a w…

…rong thread)
  • Loading branch information...
CookiePLMonster committed Jun 24, 2019
1 parent 4b03790 commit 94a19ca6702bceb6b70df0f6bac0445d7e68892e
Showing with 6 additions and 1 deletion.
  1. +6 −1 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;
});
}
}
}

0 comments on commit 94a19ca

Please sign in to comment.
You can’t perform that action at this time.