mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-02-05 04:06:37 -05:00
module-eq: Unload filter-chain on destruction
Make the parametric-equalizer module destroy the underlying filter-chain module on destruction. This makes the EQ nodes get destroyed on unload. Fixes #5045
This commit is contained in:
parent
7a853f887c
commit
1d166f8bb2
1 changed files with 3 additions and 0 deletions
|
|
@ -288,6 +288,9 @@ static const struct pw_proxy_events core_proxy_events = {
|
|||
|
||||
static void impl_destroy(struct impl *impl)
|
||||
{
|
||||
if (impl->eq_module)
|
||||
pw_impl_module_destroy(impl->eq_module);
|
||||
|
||||
if (impl->core && impl->do_disconnect)
|
||||
pw_core_disconnect(impl->core);
|
||||
pw_properties_free(impl->props);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue