mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 23:07:26 +08:00
Protect against potential nullref when exiting player (#7330)
Protect against potential nullref when exiting player
This commit is contained in:
commit
5e8afccfee
@ -562,7 +562,7 @@ namespace osu.Game.Screens.Play
|
||||
|
||||
// GameplayClockContainer performs seeks / start / stop operations on the beatmap's track.
|
||||
// as we are no longer the current screen, we cannot guarantee the track is still usable.
|
||||
GameplayClockContainer.StopUsingBeatmapClock();
|
||||
GameplayClockContainer?.StopUsingBeatmapClock();
|
||||
|
||||
fadeOut();
|
||||
return base.OnExiting(next);
|
||||
|
Loading…
Reference in New Issue
Block a user