diff --git a/osu.Framework/Graphics/Audio/DrawableAudioWrapper.cs b/osu.Framework/Graphics/Audio/DrawableAudioWrapper.cs index f33164c6d0..68affe8d6a 100644 --- a/osu.Framework/Graphics/Audio/DrawableAudioWrapper.cs +++ b/osu.Framework/Graphics/Audio/DrawableAudioWrapper.cs @@ -138,11 +138,16 @@ protected virtual void OnMixerChanged(ValueChangedEvent mixer) { } - protected override void Dispose(bool isDisposing) + internal override void UnbindAllBindables() { - base.Dispose(isDisposing); + base.UnbindAllBindables(); + component?.UnbindAdjustments(adjustments); + } + protected override void Dispose(bool isDisposing) + { + base.Dispose(isDisposing); if (disposeUnderlyingComponentOnDispose) (component as IDisposable)?.Dispose();