Skip to content

Commit

Permalink
Fix disposal of playing preview track not unmuting game track
Browse files Browse the repository at this point in the history
  • Loading branch information
frenzibyte committed Dec 5, 2022
1 parent 01ceaa0 commit a457a2f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions osu.Game/Audio/PreviewTrack.cs
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,8 @@ public void Stop()
protected override void Dispose(bool isDisposing)
{
base.Dispose(isDisposing);

Stop();
Track?.Dispose();
}
}
Expand Down

0 comments on commit a457a2f

Please sign in to comment.