1
0
mirror of https://github.com/Siccity/xNode.git synced 2025-12-21 01:36:03 +08:00

Fixed Clear all connections bug

This commit is contained in:
Thor 2017-10-13 10:37:34 +02:00
parent 3dae0910dc
commit 899e5ae979

View File

@ -102,8 +102,8 @@ public class NodePort {
}
public void ClearConnections() {
for (int i = 0; i < connections.Count; i++) {
Disconnect(connections[i].Port);
while(connections.Count > 0) {
Disconnect(connections[0].Port);
}
}