Cancel all pending requests on stop().
[WoTNS.git] / src / main / java / net / pterodactylus / wotns / freenet / wot / WebOfTrustConnector.java
index 4274caf..c546591 100644 (file)
@@ -76,6 +76,9 @@ public class WebOfTrustConnector implements ConnectorListener {
         */
        public void stop() {
                pluginConnector.removeConnectorListener(WOT_PLUGIN_NAME, PLUGIN_CONNECTION_IDENTIFIER, this);
+               synchronized (reply) {
+                       reply.notifyAll();
+               }
        }
 
        /**