Skip to content
Permalink
Browse files

Merge pull request #7916 from spycrab/issue_11623

MacUpdater: Fix updater not closing after update is completed
  • Loading branch information...
spycrab committed Mar 21, 2019
2 parents 8713a75 + 544f6d5 commit 094c852158a232ccef2037207f26ee3bc90fa07b
Showing with 4 additions and 4 deletions.
  1. +4 −4 Source/Core/MacUpdater/MacUI.mm
@@ -128,12 +128,12 @@ void run_on_main(std::function<void()> fnc)
encoding:[NSString defaultCStringEncoding]]];
}

// Stubs. These are only needed on Windows

void UI::Init()
void UI::Stop()
{
run_on_main([] { [NSApp performSelector:@selector(terminate:) withObject:nil afterDelay:0.0]; });
}

void UI::Stop()
// Stub. Only needed on Windows
void UI::Init()
{
}

0 comments on commit 094c852

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