Fix GameplayClockContainer operating on beatmap's track after s… (#6688)

Fix GameplayClockContainer operating on beatmap's track after screen exited
This commit is contained in:
Dean Herbert
2019-11-02 21:22:13 +09:00
committed by GitHub
2 changed files with 18 additions and 1 deletions

View File

@ -532,6 +532,10 @@ namespace osu.Game.Screens.Play
GameplayClockContainer.ResetLocalAdjustments();
// 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();
fadeOut();
return base.OnExiting(next);
}