mirror of
https://github.com/ppy/osu.git
synced 2024-12-15 20:56:12 +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;
|
||||
|
||||
// Provides `Playfield`
|
||||
private DependencyContainer dependencies;
|
||||
private DrawableRulesetDependencies dependencies;
|
||||
|
||||
[Resolved]
|
||||
protected EditorClock EditorClock { get; private set; }
|
||||
@ -410,6 +410,13 @@ namespace osu.Game.Rulesets.Edit
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
protected override void Dispose(bool isDisposing)
|
||||
{
|
||||
base.Dispose(isDisposing);
|
||||
|
||||
dependencies.Dispose();
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
Loading…
Reference in New Issue
Block a user