From 139547829978392d4f376a532c18cee2499b91bd Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Tue, 27 Sep 2011 14:15:39 +0200 Subject: [PATCH] Interrupt all running requests on sto(). This should no longer prevent the node from shutting down successfully. --- .../java/net/pterodactylus/sone/freenet/wot/WebOfTrustConnector.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main/java/net/pterodactylus/sone/freenet/wot/WebOfTrustConnector.java b/src/main/java/net/pterodactylus/sone/freenet/wot/WebOfTrustConnector.java index de30a5d..019cdb2 100644 --- a/src/main/java/net/pterodactylus/sone/freenet/wot/WebOfTrustConnector.java +++ b/src/main/java/net/pterodactylus/sone/freenet/wot/WebOfTrustConnector.java @@ -74,6 +74,9 @@ public class WebOfTrustConnector implements ConnectorListener { */ public void stop() { pluginConnector.removeConnectorListener(WOT_PLUGIN_NAME, PLUGIN_CONNECTION_IDENTIFIER, this); + synchronized (reply) { + reply.notifyAll(); + } } /** -- 2.7.4