Merge pull request #8217 from CookiePLMonster/windows-updater-improvements

Updates to auto-updater on Windows
This commit is contained in:
Connor McLaughlin
2019-07-23 10:39:04 +10:00
committed by GitHub
5 changed files with 75 additions and 49 deletions

View File

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