End connection on destruction
[babeltrace.git] / lib / graph / component.c
index 9fad68ac968074a71c0aeb6c017c954599e85e25..8664e3b423fb4a19ef2f70dc73adf2731ee422e6 100644 (file)
@@ -554,7 +554,7 @@ void bt_component_remove_port_by_index(struct bt_component *component,
 
        /* Disconnect both ports of this port's connection, if any */
        if (port->connection) {
-               bt_connection_disconnect_ports(port->connection);
+               bt_connection_end(port->connection, true);
        }
 
        /* Remove from parent's array of ports (weak refs) */
This page took 0.02293 seconds and 4 git commands to generate.