Always remove all info for a disconnected network.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Sat, 31 Jan 2015 08:30:16 +0000 (09:30 +0100)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Sat, 31 Jan 2015 08:30:16 +0000 (09:30 +0100)
src/main/java/net/pterodactylus/xdcc/core/Core.java

index da202e4..99c5ab6 100644 (file)
@@ -503,9 +503,6 @@ public class Core extends AbstractExecutionThreadService {
                        return;
                }
                networkConnections.remove(network.get());
-               if (!connection.established()) {
-                       return;
-               }
 
                /* find all channels that need to be removed. */
                for (Collection<Channel> channels : ImmutableList.of(joinedChannels, extraChannels)) {