summaryrefslogtreecommitdiff
path: root/Source/Core
diff options
context:
space:
mode:
authorspycrab <spycrab@users.noreply.github.com>2019-03-21 23:42:06 +0100
committerGitHub <noreply@github.com>2019-03-21 23:42:06 +0100
commit094c852158a232ccef2037207f26ee3bc90fa07b (patch)
tree2aec3196775591e1887cff4a98547ed6e9eaba9a /Source/Core
parent8713a752f30f1b1ca972948f4d2c7898ff32db1a (diff)
parent544f6d547d9ed415662cda5e240f04f84bd46075 (diff)
Merge pull request #7916 from spycrab/issue_11623
MacUpdater: Fix updater not closing after update is completed
Diffstat (limited to 'Source/Core')
-rw-r--r--Source/Core/MacUpdater/MacUI.mm8
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/Core/MacUpdater/MacUI.mm b/Source/Core/MacUpdater/MacUI.mm
index d36a6a111e..fd7d8492be 100644
--- a/Source/Core/MacUpdater/MacUI.mm
+++ b/Source/Core/MacUpdater/MacUI.mm
@@ -128,12 +128,12 @@ void UI::LaunchApplication(std::string path)
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()
{
}