1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-12 21:02:54 +08:00

Merge pull request #23146 from EVAST9919/ruleset-samples-dispose

Fix `SampleStore` in `DrawableRulesetDependencies` isn't being disposed
This commit is contained in:
Dean Herbert 2023-04-06 21:02:39 +09:00 committed by GitHub
commit 628c23afae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -98,7 +98,7 @@ namespace osu.Game.Rulesets.UI
isDisposed = true;
if (ShaderManager.IsNotNull()) SampleStore.Dispose();
if (SampleStore.IsNotNull()) SampleStore.Dispose();
if (TextureStore.IsNotNull()) TextureStore.Dispose();
if (ShaderManager.IsNotNull()) ShaderManager.Dispose();
}