mirror of https://github.com/ppy/osu
Fix continuations attaching to the BeatmapOnlineLookupQueue scheduler
This commit is contained in:
parent
e35e9df4e1
commit
8ace06fcc5
|
@ -54,7 +54,7 @@ public Task UpdateAsync(BeatmapSetInfo beatmapSet, CancellationToken cancellatio
|
|||
|
||||
// todo: expose this when we need to do individual difficulty lookups.
|
||||
protected Task UpdateAsync(BeatmapSetInfo beatmapSet, BeatmapInfo beatmap, CancellationToken cancellationToken)
|
||||
=> Task.Factory.StartNew(() => lookup(beatmapSet, beatmap), cancellationToken, TaskCreationOptions.HideScheduler, updateScheduler);
|
||||
=> Task.Factory.StartNew(() => lookup(beatmapSet, beatmap), cancellationToken, TaskCreationOptions.HideScheduler | TaskCreationOptions.RunContinuationsAsynchronously, updateScheduler);
|
||||
|
||||
private void lookup(BeatmapSetInfo set, BeatmapInfo beatmap)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue