mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-02-08 10:06:23 -05:00
impl-port: avoid doing work when the port is destroyed
This commit is contained in:
parent
f65dd4e515
commit
aefe407d79
1 changed files with 1 additions and 1 deletions
|
|
@ -690,7 +690,7 @@ int pw_impl_port_set_mix(struct pw_impl_port *port, struct spa_node *node, uint3
|
|||
port->mix_flags = flags;
|
||||
port->mix = node;
|
||||
|
||||
if (port->mix) {
|
||||
if (port->mix && !port->destroying) {
|
||||
spa_list_for_each(mix, &port->mix_list, link)
|
||||
spa_node_add_port(port->mix, mix->port.direction, mix->port.port_id, NULL);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue