Merge branch 'master' into not-available-to-download

This commit is contained in:
Salman Ahmed
2019-06-26 05:13:58 +03:00
committed by GitHub
70 changed files with 1165 additions and 546 deletions

View File

@ -88,7 +88,12 @@ namespace osu.Game.Online.API
if (checkAndScheduleFailure())
return;
API.Schedule(delegate { Success?.Invoke(); });
API.Schedule(delegate
{
if (cancelled) return;
Success?.Invoke();
});
}
public void Cancel() => Fail(new OperationCanceledException(@"Request cancelled"));