really remove node
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Sun, 25 May 2008 10:36:37 +0000 (12:36 +0200)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Sun, 25 May 2008 10:36:37 +0000 (12:36 +0200)
resources/node-new.png [deleted file]
src/net/pterodactylus/jsite/core/NodeManager.java

diff --git a/resources/node-new.png b/resources/node-new.png
deleted file mode 100644 (file)
index 905561c..0000000
Binary files a/resources/node-new.png and /dev/null differ
index 079e367..ba71708 100644 (file)
@@ -347,6 +347,7 @@ public class NodeManager implements Iterable<Node>, PropertyChangeListener, High
                        if (nodeClients.containsKey(node)) {
                                disconnect(node);
                        }
+                       nodes.remove(node);
                        node.removePropertyChangeListener(this);
                        fireNodeRemoved(node);
                }