Fix continuations attaching to the BeatmapOnlineLookupQueue scheduler

This commit is contained in:
Dean Herbert 2020-07-14 16:03:40 +09:00
parent e35e9df4e1
commit 8ace06fcc5
1 changed files with 1 additions and 1 deletions

View File

@ -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)
{