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:
parent
fa95929121
commit
c4ba045df1
@ -63,6 +63,7 @@ namespace osu.Game.Rulesets.UI
|
||||
|
||||
~DrawableRulesetDependencies()
|
||||
{
|
||||
// required to potentially clean up sample store from audio hierarchy.
|
||||
Dispose(false);
|
||||
}
|
||||
|
||||
|
@ -36,6 +36,7 @@ namespace osu.Game.Skinning
|
||||
|
||||
~Skin()
|
||||
{
|
||||
// required to potentially clean up sample store from audio hierarchy.
|
||||
Dispose(false);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user