mirror of
https://github.com/osukey/osukey.git
synced 2025-07-03 09:20:02 +09:00
Fix continuations attaching to the BeatmapOnlineLookupQueue scheduler
This commit is contained in:
@ -54,7 +54,7 @@ namespace osu.Game.Beatmaps
|
|||||||
|
|
||||||
// todo: expose this when we need to do individual difficulty lookups.
|
// todo: expose this when we need to do individual difficulty lookups.
|
||||||
protected Task UpdateAsync(BeatmapSetInfo beatmapSet, BeatmapInfo beatmap, CancellationToken cancellationToken)
|
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)
|
private void lookup(BeatmapSetInfo set, BeatmapInfo beatmap)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user