From 1b240fc2b238ac15b0e20e5b2828bb1fecbfa31a Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Sun, 19 Jul 2009 21:53:24 +0200 Subject: [PATCH] Finish getNodeInformation() as soon as the information has arrived. --- src/net/pterodactylus/fcp/highlevel/FcpClient.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/net/pterodactylus/fcp/highlevel/FcpClient.java b/src/net/pterodactylus/fcp/highlevel/FcpClient.java index 4bbcded..78a7c1f 100644 --- a/src/net/pterodactylus/fcp/highlevel/FcpClient.java +++ b/src/net/pterodactylus/fcp/highlevel/FcpClient.java @@ -923,6 +923,7 @@ public class FcpClient { @Override public void receivedNodeData(FcpConnection fcpConnection, NodeData nodeData) { nodeDataWrapper.set(nodeData); + completionLatch.countDown(); } }.execute(); return nodeDataWrapper.get(); -- 2.7.4