delete connect callback as soon as its result was set
authorDavid ‘Bombe’ Roden <bombe@freenetproject.org>
Tue, 15 Apr 2008 00:09:01 +0000 (00:09 +0000)
committerDavid ‘Bombe’ Roden <bombe@freenetproject.org>
Tue, 15 Apr 2008 00:09:01 +0000 (00:09 +0000)
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

index 2c3ca7e..741726f 100644 (file)
@@ -337,6 +337,7 @@ public class HighLevelClient {
                        synchronized (syncObject) {
                                connectCallback.setResult(connectResult);
                        }
+                       connectCallback = null;
                }
 
                /**