From 33e57ae1719a87ba663e1f640db264c8c698a8c4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Tue, 15 Apr 2008 00:09:01 +0000 Subject: [PATCH] delete connect callback as soon as its result was set git-svn-id: http://trooper/svn/projects/jFCPlib/branch/high-level-client@819 c3eda9e8-030b-0410-8277-bc7414b0a119 --- src/net/pterodactylus/fcp/highlevel/HighLevelClient.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/net/pterodactylus/fcp/highlevel/HighLevelClient.java b/src/net/pterodactylus/fcp/highlevel/HighLevelClient.java index 2c3ca7e..741726f 100644 --- a/src/net/pterodactylus/fcp/highlevel/HighLevelClient.java +++ b/src/net/pterodactylus/fcp/highlevel/HighLevelClient.java @@ -337,6 +337,7 @@ public class HighLevelClient { synchronized (syncObject) { connectCallback.setResult(connectResult); } + connectCallback = null; } /** -- 2.7.4