mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 15:07:44 +08:00
Unsubscribe from track changed event on disposal
This commit is contained in:
parent
6ed4c7caef
commit
a377cccb4d
@ -642,6 +642,7 @@ namespace osu.Game.Screens.Select
|
|||||||
base.Dispose(isDisposing);
|
base.Dispose(isDisposing);
|
||||||
|
|
||||||
decoupledRuleset.UnbindAll();
|
decoupledRuleset.UnbindAll();
|
||||||
|
music.TrackChanged -= ensureTrackLooping;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
Loading…
Reference in New Issue
Block a user