mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-01 22:58:50 -04:00
port: add some more warnings when unregister fails
This commit is contained in:
parent
6c84b77e4d
commit
f4021c7f44
2 changed files with 8 additions and 4 deletions
|
|
@ -4221,9 +4221,11 @@ int jack_port_unregister (jack_client_t *client, jack_port_t *port)
|
|||
0, 0, NULL, NULL);
|
||||
|
||||
res = do_sync(c);
|
||||
|
||||
if (res < 0) {
|
||||
pw_log_warn("can't unregister port %s: %s", o->port.name,
|
||||
spa_strerror(res));
|
||||
}
|
||||
free_port(c, p);
|
||||
|
||||
done:
|
||||
pw_thread_loop_unlock(c->context.loop);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue