Skip to content
Permalink
Browse files

MacUpdater: Fix updater not closing after update is completed

  • Loading branch information...
spycrab committed Mar 21, 2019
1 parent fcd0dbe commit 544f6d547d9ed415662cda5e240f04f84bd46075
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 544f6d5

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