Merge pull request #7916 from spycrab/issue_11623
MacUpdater: Fix updater not closing after update is completed
This commit is contained in:
commit
094c852158
|
@ -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()
|
||||
{
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue