From e07ed8951f6e8367856b7b836f568db38c98c51c Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Sun, 25 May 2008 12:36:37 +0200 Subject: [PATCH] really remove node --- resources/node-new.png | Bin 447 -> 0 bytes src/net/pterodactylus/jsite/core/NodeManager.java | 1 + 2 files changed, 1 insertion(+) delete mode 100644 resources/node-new.png diff --git a/resources/node-new.png b/resources/node-new.png deleted file mode 100644 index 905561c2590adcf5cb7eef967f26f129f478634d..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 447 zcmV;w0YLtVP)Px$c}YY;R5;6>l20guVI0Rl@4MIEMU%3mIOyGxTsTbG!s4cObaFDKq$meX#?8q} zb6P2rWjU#plSFYOIY`+K_6HjgHnG=XP2So2lJD*Jd!Fz2`F)<}5zvrlaV`Wn(buY^ zv*>j64Is-FRkKV8V-Tac}orGRt210#zD!SZjj0VP!t7#vC(mr zQxrv3d|r?AeN*Z>sreG=bh>0;D)1CD7PAJoHZ%iPL)$^uFMrLuvp3002ovPDHLkV1f`R!Xy9y 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); } -- 2.7.4