mirror of
https://github.com/osukey/osukey.git
synced 2025-05-16 02:57:32 +09:00
Fix potential nullref on disposal
This commit is contained in:
parent
ad24265730
commit
de1ab56a2c
@ -197,10 +197,13 @@ namespace osu.Game.Overlays
|
||||
{
|
||||
base.Dispose(isDisposing);
|
||||
|
||||
if (beatmaps != null)
|
||||
{
|
||||
beatmaps.ItemAdded -= handleBeatmapAdded;
|
||||
beatmaps.ItemRemoved -= handleBeatmapRemoved;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public enum TrackChangeDirection
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user