mirror of
https://github.com/ppy/osu.git
synced 2024-12-15 09:42:54 +08:00
Dispose DrawableRulesetDependencies in HitObjectComposer
This commit is contained in:
parent
7b620392fe
commit
65e5c9a3ae
@ -48,7 +48,7 @@ namespace osu.Game.Rulesets.Edit
|
|||||||
protected readonly Ruleset Ruleset;
|
protected readonly Ruleset Ruleset;
|
||||||
|
|
||||||
// Provides `Playfield`
|
// Provides `Playfield`
|
||||||
private DependencyContainer dependencies;
|
private DrawableRulesetDependencies dependencies;
|
||||||
|
|
||||||
[Resolved]
|
[Resolved]
|
||||||
protected EditorClock EditorClock { get; private set; }
|
protected EditorClock EditorClock { get; private set; }
|
||||||
@ -410,6 +410,13 @@ namespace osu.Game.Rulesets.Edit
|
|||||||
}
|
}
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
|
protected override void Dispose(bool isDisposing)
|
||||||
|
{
|
||||||
|
base.Dispose(isDisposing);
|
||||||
|
|
||||||
|
dependencies.Dispose();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
Loading…
Reference in New Issue
Block a user