1
0
mirror of https://github.com/ppy/osu.git synced 2025-03-23 19:07:20 +08:00

Add todo about beatmap load cancellation

This commit is contained in:
Dean Herbert 2019-07-02 22:22:33 +09:00
parent a26b14a4f8
commit 0b66f13902

View File

@ -145,6 +145,7 @@ namespace osu.Game.Beatmaps
public Task<IBeatmap> LoadBeatmapAsync() => (beatmapLoadTask ?? (beatmapLoadTask = Task.Factory.StartNew(() =>
{
// Todo: Handle cancellation during beatmap parsing
var b = GetBeatmap() ?? new Beatmap();
// The original beatmap version needs to be preserved as the database doesn't contain it