From: David ‘Bombe’ Roden Date: Mon, 12 May 2008 16:44:08 +0000 (+0000) Subject: only fire connection-closed event once X-Git-Tag: v0.1.1~136 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=052e45858dbb29590e1bada8f15d52cec5b15e95;p=jFCPlib.git only fire connection-closed event once git-svn-id: http://trooper/svn/projects/jFCPlib/branch/high-level-client@851 c3eda9e8-030b-0410-8277-bc7414b0a119 --- 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); } //