From 052e45858dbb29590e1bada8f15d52cec5b15e95 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Mon, 12 May 2008 16:44:08 +0000 Subject: [PATCH] only fire connection-closed event once git-svn-id: http://trooper/svn/projects/jFCPlib/branch/high-level-client@851 c3eda9e8-030b-0410-8277-bc7414b0a119 --- src/net/pterodactylus/fcp/FcpConnection.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/net/pterodactylus/fcp/FcpConnection.java b/src/net/pterodactylus/fcp/FcpConnection.java index d7ed4bc..d1a1be7 100644 --- a/src/net/pterodactylus/fcp/FcpConnection.java +++ b/src/net/pterodactylus/fcp/FcpConnection.java @@ -831,8 +831,8 @@ public class FcpConnection implements Closeable { if (connectionHandler != null) { connectionHandler.stop(); connectionHandler = null; + fireConnectionClosed(throwable); } - fireConnectionClosed(throwable); } // -- 2.7.4