port: add some more warnings when unregister fails

This commit is contained in:
Wim Taymans 2022-01-23 10:16:42 +01:00
parent 6c84b77e4d
commit f4021c7f44
2 changed files with 8 additions and 4 deletions

View file

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