Merge pull request #15783 from peppy/close-failed-update-notification

Close a failed update notification immediately
This commit is contained in:
Dan Balasescu
2021-11-24 19:46:33 +09:00
committed by GitHub

View File

@ -103,7 +103,10 @@ namespace osu.Desktop.Updater
} }
else else
{ {
// In the case of an error, a separate notification will be displayed.
notification.State = ProgressNotificationState.Cancelled; notification.State = ProgressNotificationState.Cancelled;
notification.Close();
Logger.Error(e, @"update failed!"); Logger.Error(e, @"update failed!");
} }
} }