End connection on destruction
[babeltrace.git] / lib / graph / port.c
index 4f974aa1fae91cd1eb1b6b95ef230d7c6e3dc165..944e1cd4d859b4e08c711e1d5347a4c029fb5e31 100644 (file)
@@ -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));
This page took 0.024085 seconds and 4 git commands to generate.