Update continuation usages to use GetCompletedResult

This commit is contained in:
Dean Herbert
2022-01-05 15:54:10 +09:00
parent f9713b8895
commit 3ea7588a91
15 changed files with 24 additions and 20 deletions

View File

@ -48,7 +48,7 @@ namespace osu.Game.Overlays.Settings.Sections.General
checkForUpdatesButton.Enabled.Value = false;
Task.Run(updateManager.CheckForUpdateAsync).ContinueWith(task => Schedule(() =>
{
if (!task.WaitSafelyForResult())
if (!task.GetCompletedResult())
{
notifications?.Post(new SimpleNotification
{