mirror of
https://github.com/osukey/osukey.git
synced 2025-05-30 01:47:30 +09:00
Only detach filter on disposal if attached
This commit is contained in:
parent
bd0c986144
commit
99fb86878e
@ -118,7 +118,9 @@ namespace osu.Game.Audio.Effects
|
|||||||
protected override void Dispose(bool isDisposing)
|
protected override void Dispose(bool isDisposing)
|
||||||
{
|
{
|
||||||
base.Dispose(isDisposing);
|
base.Dispose(isDisposing);
|
||||||
detachFilter();
|
|
||||||
|
if (mixer.Effects.Contains(filter))
|
||||||
|
detachFilter();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user