mirror of
https://github.com/ppy/osu.git
synced 2026-05-18 23:10:50 +08:00
Fix missing disposal
This commit is contained in:
@@ -141,6 +141,7 @@ namespace osu.Game.Screens.Edit
|
||||
{
|
||||
if (Skin.BeatmapSetResources != null)
|
||||
Skin.BeatmapSetResources.CacheInvalidated -= InvokeSkinChanged;
|
||||
Skin.Dispose();
|
||||
}
|
||||
|
||||
#region Delegated ISkin implementation
|
||||
|
||||
@@ -342,6 +342,7 @@ namespace osu.Game.Skinning
|
||||
|
||||
Textures?.Dispose();
|
||||
Samples?.Dispose();
|
||||
FallbackStore?.Dispose();
|
||||
|
||||
store.Dispose();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user