mirror of
https://github.com/osukey/osukey.git
synced 2025-08-07 16:43:52 +09:00
Fix nullref in tests
This commit is contained in:
@ -63,8 +63,11 @@ namespace osu.Game.Overlays.Direct
|
|||||||
{
|
{
|
||||||
base.Dispose(isDisposing);
|
base.Dispose(isDisposing);
|
||||||
|
|
||||||
|
if (beatmaps != null)
|
||||||
|
{
|
||||||
beatmaps.BeatmapDownloadBegan -= attachDownload;
|
beatmaps.BeatmapDownloadBegan -= attachDownload;
|
||||||
beatmaps.ItemAdded -= setAdded;
|
beatmaps.ItemAdded -= setAdded;
|
||||||
|
}
|
||||||
|
|
||||||
State.UnbindAll();
|
State.UnbindAll();
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user