mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-11 13:30:07 -05:00
link: also recalculate graph when a prepared link is destroyed
This commit is contained in:
parent
995fafa5be
commit
28d47c79f0
1 changed files with 3 additions and 0 deletions
|
|
@ -1231,6 +1231,9 @@ void pw_impl_link_destroy(struct pw_impl_link *link)
|
|||
pw_global_destroy(link->global);
|
||||
}
|
||||
|
||||
if (link->prepared)
|
||||
pw_context_recalc_graph(link->context, "link destroy");
|
||||
|
||||
pw_log_debug(NAME" %p: free", impl);
|
||||
pw_impl_link_emit_free(link);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue