From: David ‘Bombe’ Roden Date: Sun, 25 May 2008 10:36:37 +0000 (+0200) Subject: really remove node X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=e07ed8951f6e8367856b7b836f568db38c98c51c;p=jSite2.git really remove node --- diff --git a/resources/node-new.png b/resources/node-new.png deleted file mode 100644 index 905561c..0000000 Binary files a/resources/node-new.png and /dev/null differ diff --git a/src/net/pterodactylus/jsite/core/NodeManager.java b/src/net/pterodactylus/jsite/core/NodeManager.java index 079e367..ba71708 100644 --- a/src/net/pterodactylus/jsite/core/NodeManager.java +++ b/src/net/pterodactylus/jsite/core/NodeManager.java @@ -347,6 +347,7 @@ public class NodeManager implements Iterable, PropertyChangeListener, High if (nodeClients.containsKey(node)) { disconnect(node); } + nodes.remove(node); node.removePropertyChangeListener(this); fireNodeRemoved(node); }