Skip to content
Snippets Groups Projects
Commit 28d8832a authored by nedko's avatar nedko
Browse files

Fix deadlock

git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@3552 0c269be4-1314-0410-8aa9-9f06e86f4224
parent 747a8476
No related branches found
No related tags found
No related merge requests found
......@@ -1352,14 +1352,14 @@ jack_controller_dbus_disconnect_ports_by_id(
if (port1_ptr == NULL)
{
jack_dbus_error(call, JACK_DBUS_ERROR_INVALID_ARGS, "cannot find port %" PRIu64, port1_id);
return;
goto unlock;
}
port2_ptr = jack_controller_patchbay_find_port_by_id(patchbay_ptr, port2_id);
if (port2_ptr == NULL)
{
jack_dbus_error(call, JACK_DBUS_ERROR_INVALID_ARGS, "cannot find port %" PRIu64, port2_id);
return;
goto unlock;
}
if (!jack_controller_patchbay_disconnect(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment