Closed aaronvark closed 4 years ago
Thanks! Did you observe any cases where it breaks if you only had
((MyNode*) connection.output_node)->DeleteConnection(connection);
((MyNode*) connection.input_node)->DeleteConnection(connection);
?
I tried with the above code, and the reverse situation in this case (Pulse to 2 Logs) causes a nullref when deleting one of the LogNodes.
Connecting two nodes to a single input creates a problem when deleting the input node, leaving a dangling connection. This is a valid situation in our use-case: