More warning fixes

This commit is contained in:
smoogipoo
2017-11-14 18:05:07 +09:00
parent bd7a6a90f5
commit 9344502b71
2 changed files with 2 additions and 2 deletions

View File

@ -233,7 +233,8 @@ namespace osu.Desktop.Overlays
Text = @"Update ready to install. Click to restart!",
Activated = () =>
{
UpdateManager.RestartAppWhenExited();
// Squirrel returns execution to us after the update process is started, so it's safe to use Wait() here
UpdateManager.RestartAppWhenExited().Wait();
game.GracefullyExit();
return true;
}