mirror of
https://github.com/ppy/osu.git
synced 2025-01-27 13:23:05 +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()
|
~DrawableRulesetDependencies()
|
||||||
{
|
{
|
||||||
|
// required to potentially clean up sample store from audio hierarchy.
|
||||||
Dispose(false);
|
Dispose(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -36,6 +36,7 @@ namespace osu.Game.Skinning
|
|||||||
|
|
||||||
~Skin()
|
~Skin()
|
||||||
{
|
{
|
||||||
|
// required to potentially clean up sample store from audio hierarchy.
|
||||||
Dispose(false);
|
Dispose(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user