mirror of
https://gitlab.freedesktop.org/pipewire/wireplumber.git
synced 2026-05-05 10:08:15 +02:00
m-config-endpoint: deactivate gracefully even if not activated
This may happen if the plugins were loaded but not activated due to some parse error in wireplumber.conf
This commit is contained in:
parent
826e5e3c46
commit
ac295b10e3
1 changed files with 1 additions and 1 deletions
|
|
@ -332,7 +332,7 @@ wp_config_endpoint_context_deactivate (WpPlugin *plugin)
|
|||
wp_configuration_remove_extension (config, WP_PARSER_STREAMS_EXTENSION);
|
||||
}
|
||||
|
||||
{
|
||||
if (self->nodes_om) {
|
||||
g_autoptr (WpIterator) it = wp_object_manager_iterate (self->nodes_om);
|
||||
wp_iterator_foreach (it, remove_all_nodes, NULL);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue