mirror of
https://github.com/Siccity/xNode.git
synced 2025-12-20 09:16:01 +08:00
Fixed Clear all connections bug
This commit is contained in:
parent
3dae0910dc
commit
899e5ae979
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user