Skip to content

Commit

Permalink
Merge branch 'master' into fix-bindable-list-fucked
Browse files Browse the repository at this point in the history
  • Loading branch information
bdach authored Jul 31, 2023
2 parents 803861c + eb6a632 commit c28aac1
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions osu.Framework/Graphics/Audio/DrawableAudioWrapper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -138,11 +138,16 @@ protected virtual void OnMixerChanged(ValueChangedEvent<IAudioMixer> 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();

Expand Down

0 comments on commit c28aac1

Please sign in to comment.