From c969e0b4f0299f7908340bb63d227b29e7c289fe Mon Sep 17 00:00:00 2001 From: Dean Herbert Date: Sat, 29 Oct 2016 03:31:40 +0900 Subject: [PATCH] Remove forced disposal of WorkingBeatmap. --- osu.Game/GameModes/Play/Player.cs | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/osu.Game/GameModes/Play/Player.cs b/osu.Game/GameModes/Play/Player.cs index e5aceeb5d8..5f3e2954a5 100644 --- a/osu.Game/GameModes/Play/Player.cs +++ b/osu.Game/GameModes/Play/Player.cs @@ -30,17 +30,6 @@ namespace osu.Game.GameModes.Play private InterpolatingFramedClock playerClock; 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) { base.Load(game);