Merge pull request #7916 from spycrab/issue_11623

MacUpdater: Fix updater not closing after update is completed
This commit is contained in:
spycrab 2019-03-21 23:42:06 +01:00 committed by GitHub
commit 094c852158
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -128,12 +128,12 @@ void UI::LaunchApplication(std::string path)
encoding:[NSString defaultCStringEncoding]]];
}
// Stubs. These are only needed on Windows
void UI::Stop()
{
run_on_main([] { [NSApp performSelector:@selector(terminate:) withObject:nil afterDelay:0.0]; });
}
// Stub. Only needed on Windows
void UI::Init()
{
}
void UI::Stop()
{
}