1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 05:32:54 +08:00

Fix WorkingBeatmap disposal potentially null-refing (#5423)

Fix WorkingBeatmap disposal potentially null-refing
This commit is contained in:
Dean Herbert 2019-07-22 15:16:24 +09:00 committed by GitHub
commit 3994cb4472
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -247,7 +247,7 @@ namespace osu.Game.Beatmaps
// cancelling the beatmap load is safe for now since the retrieval is a synchronous
// operation. if we add an async retrieval method this may need to be reconsidered.
beatmapCancellation.Cancel();
beatmapCancellation?.Cancel();
total_count.Value--;
}