output/Source: fix Close()
Close the filter before cancelling when closing a source. Fixes #2148
This commit is contained in:
parent
eb1463fd7c
commit
78e643150f
|
@ -53,9 +53,9 @@ AudioOutputSource::Close() noexcept
|
||||||
assert(in_audio_format.IsValid());
|
assert(in_audio_format.IsValid());
|
||||||
in_audio_format.Clear();
|
in_audio_format.Clear();
|
||||||
|
|
||||||
Cancel();
|
|
||||||
|
|
||||||
CloseFilter();
|
CloseFilter();
|
||||||
|
|
||||||
|
Cancel();
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|
Loading…
Reference in New Issue