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:
Dimitris Papaioannou 2025-12-26 20:46:34 +02:00 committed by Wim Taymans
parent 7a853f887c
commit 1d166f8bb2

View file

@ -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);