1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 17:07:38 +08:00

Add note about finalizers required for audio store clean-up

This commit is contained in:
Dean Herbert 2021-03-02 16:07:51 +09:00
parent fa95929121
commit c4ba045df1
2 changed files with 2 additions and 0 deletions

View File

@ -63,6 +63,7 @@ namespace osu.Game.Rulesets.UI
~DrawableRulesetDependencies()
{
// required to potentially clean up sample store from audio hierarchy.
Dispose(false);
}

View File

@ -36,6 +36,7 @@ namespace osu.Game.Skinning
~Skin()
{
// required to potentially clean up sample store from audio hierarchy.
Dispose(false);
}