Skip to content

Commit

Permalink
Fix stutter during update process
Browse files Browse the repository at this point in the history
  • Loading branch information
peppy committed Jun 28, 2019
1 parent d557737 commit 1898a67
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions osu.Desktop/Updater/SquirrelUpdateManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -133,8 +133,8 @@ protected override Notification CreateCompletionNotification()
Text = @"Update ready to install. Click to restart!",
Activated = () =>
{
updateManager.PrepareUpdate();
game.GracefullyExit();
updateManager.PrepareUpdateAsync()
.ContinueWith(_ => Schedule(() => game.GracefullyExit()));
return true;
}
};
Expand Down

0 comments on commit 1898a67

Please sign in to comment.