From 61846a0aae33cb4d93534f3f7c96e7828bb84a4a Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Fri, 22 May 2009 07:23:48 +0200 Subject: [PATCH] Remove client from node-to-client map on disconnect. --- src/net/pterodactylus/jsite/core/NodeManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/net/pterodactylus/jsite/core/NodeManager.java b/src/net/pterodactylus/jsite/core/NodeManager.java index 7fd4cc9..a73a563 100644 --- a/src/net/pterodactylus/jsite/core/NodeManager.java +++ b/src/net/pterodactylus/jsite/core/NodeManager.java @@ -347,7 +347,7 @@ public class NodeManager implements Iterable, PropertyChangeListener { logger.log(Level.WARNING, "Was told to disconnect from a node (" + node + ") I don’t know about!"); return; } - FcpClient fcpClient = nodeClients.get(node); + FcpClient fcpClient = nodeClients.remove(node); if (fcpClient == null) { logger.log(Level.WARNING, "No FCP client for node (" + node + ")!"); return; -- 2.7.4