From: David ‘Bombe’ Roden Date: Tue, 15 Apr 2008 00:09:01 +0000 (+0000) Subject: delete connect callback as soon as its result was set X-Git-Tag: v0.1.1~164 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=33e57ae1719a87ba663e1f640db264c8c698a8c4;p=jFCPlib.git 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 --- 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; } /**