Skip to content

Commit

Permalink
output/Source: fix Close()
Browse files Browse the repository at this point in the history
Close the filter before cancelling when closing a source.
Fixes MusicPlayerDaemon#2148
  • Loading branch information
borine committed Nov 19, 2024
1 parent eb1463f commit 78e6431
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/output/Source.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,9 @@ AudioOutputSource::Close() noexcept
assert(in_audio_format.IsValid());
in_audio_format.Clear();

Cancel();

CloseFilter();

Cancel();
}

void
Expand Down

0 comments on commit 78e6431

Please sign in to comment.