Don’t forget to subscribe to ConnectionFailed events.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Fri, 6 Sep 2013 20:33:39 +0000 (22:33 +0200)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Fri, 6 Sep 2013 23:36:04 +0000 (01:36 +0200)
src/main/java/net/pterodactylus/xdcc/core/Core.java

index d13b486..24d9c38 100644 (file)
@@ -504,6 +504,7 @@ public class Core extends AbstractExecutionThreadService {
         * @param connectionFailed
         *              The connection failed event
         */
+       @Subscribe
        public void connectionFailed(ConnectionFailed connectionFailed) {
                removeConnection(connectionFailed.connection());
        }