mirror of
https://github.com/osukey/osukey.git
synced 2025-08-05 07:33:55 +09:00
Update continuation usages to use GetCompletedResult
This commit is contained in:
@ -38,7 +38,7 @@ namespace osu.Game.Screens.Ranking.Expanded.Statistics
|
||||
else
|
||||
{
|
||||
performanceCache.CalculatePerformanceAsync(score, cancellationTokenSource.Token)
|
||||
.ContinueWith(t => Schedule(() => setPerformanceValue(t.WaitSafelyForResult())), cancellationTokenSource.Token);
|
||||
.ContinueWith(t => Schedule(() => setPerformanceValue(t.GetCompletedResult())), cancellationTokenSource.Token);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -154,7 +154,7 @@ namespace osu.Game.Screens.Ranking
|
||||
scoreManager.GetTotalScoreAsync(score)
|
||||
.ContinueWith(task => Schedule(() =>
|
||||
{
|
||||
flow.SetLayoutPosition(trackingContainer, task.WaitSafelyForResult());
|
||||
flow.SetLayoutPosition(trackingContainer, task.GetCompletedResult());
|
||||
|
||||
trackingContainer.Show();
|
||||
|
||||
|
Reference in New Issue
Block a user