1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-15 15:53:21 +08:00

Remove forced disposal of WorkingBeatmap.

This commit is contained in:
Dean Herbert 2016-10-29 03:31:40 +09:00
parent eb30882b09
commit c969e0b4f0

View File

@ -30,17 +30,6 @@ namespace osu.Game.GameModes.Play
private InterpolatingFramedClock playerClock; private InterpolatingFramedClock playerClock;
private IAdjustableClock sourceClock; private IAdjustableClock sourceClock;
protected override bool OnExiting(GameMode next)
{
if (next == null)
{
//eagerly dispose as the finalizer runs too late right now.
Beatmap?.Dispose();
}
return base.OnExiting(next);
}
public override void Load(BaseGame game) public override void Load(BaseGame game)
{ {
base.Load(game); base.Load(game);