notify listeners on manual disconnect, too
[jFCPlib.git] / src / net / pterodactylus / fcp / FcpConnection.java
index 1af3bab..0dc1e7f 100644 (file)
@@ -685,6 +685,7 @@ public class FcpConnection {
                FcpUtils.close(remoteSocket);
                connectionHandler.stop();
                connectionHandler = null;
+               fireConnectionClosed();
        }
 
        /**