mirror of https://github.com/ppy/osu
Add note about finalizers required for audio store clean-up
This commit is contained in:
parent
fa95929121
commit
c4ba045df1
|
@ -63,6 +63,7 @@ public DrawableRulesetDependencies(Ruleset ruleset, IReadOnlyDependencyContainer
|
|||
|
||||
~DrawableRulesetDependencies()
|
||||
{
|
||||
// required to potentially clean up sample store from audio hierarchy.
|
||||
Dispose(false);
|
||||
}
|
||||
|
||||
|
|
|
@ -36,6 +36,7 @@ protected Skin(SkinInfo skin)
|
|||
|
||||
~Skin()
|
||||
{
|
||||
// required to potentially clean up sample store from audio hierarchy.
|
||||
Dispose(false);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue