Browse Source

Fix deadlock

git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@3552 0c269be4-1314-0410-8aa9-9f06e86f4224
tags/v1.9.3
nedko 16 years ago
parent
commit
28d8832a61
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      dbus/controller_iface_patchbay.c

+ 2
- 2
dbus/controller_iface_patchbay.c View File

@@ -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(


Loading…
Cancel
Save