1
0
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:
Derrick Timmermans 2022-11-25 08:27:22 +01:00
parent 7b620392fe
commit 65e5c9a3ae
No known key found for this signature in database
GPG Key ID: 8681B60806EF4A17

View File

@ -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>