X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=lib%2Fgraph%2Fport.c;h=944e1cd4d859b4e08c711e1d5347a4c029fb5e31;hb=c42ea0af12bb273cd7a1131f38f0a1cb4b42a8e2;hp=4f974aa1fae91cd1eb1b6b95ef230d7c6e3dc165;hpb=49682acd61d65c4986fc2b61c13d7d7a2d28127e;p=babeltrace.git diff --git a/lib/graph/port.c b/lib/graph/port.c index 4f974aa1..944e1cd4 100644 --- a/lib/graph/port.c +++ b/lib/graph/port.c @@ -203,7 +203,7 @@ int bt_port_disconnect(struct bt_port *port) } if (port->connection) { - bt_connection_disconnect_ports(port->connection); + bt_connection_end(port->connection, true); BT_LOGV("Disconnected port: " "port-addr=%p, port-name=\"%s\"", port, bt_port_get_name(port));