/* ignore. */
}
}
+ if (!isRunning()) {
+ break;
+ }
/* find channels that should be monitored but are not. */
for (Channel channel : channels) {
}
@Override
- protected void shutDown() {
+ protected void triggerShutdown() {
synchronized (syncObject) {
syncObject.notifyAll();
}
return;
}
- extraChannels.remove(channel);
+ extraChannels.remove(channel.get());
} else {
- channels.remove(channel.get());
+ joinedChannels.remove(channel.get());
}
eventBus.post(new GenericMessage(format(
"Kicked from %s by %s: %s",