Fix sample store creation mutating shared resource store

This commit is contained in:
Bartłomiej Dach
2023-01-28 21:16:22 +01:00
parent a8f828d203
commit c5e1f54185
3 changed files with 10 additions and 3 deletions

View File

@ -157,6 +157,8 @@ namespace osu.Game.Rulesets.UI
set => throw new NotSupportedException();
}
public void AddExtension(string extension) => throw new NotSupportedException();
public void Dispose()
{
if (primary.IsNotNull()) primary.Dispose();