mirror of
https://github.com/ppy/osu.git
synced 2025-01-15 16:03:01 +08:00
Remove forced disposal of WorkingBeatmap.
This commit is contained in:
parent
eb30882b09
commit
c969e0b4f0
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user