If the channel becomes inactive, the connection's closed, too.

This commit is contained in:
Andrew Steinborn
2018-08-02 22:10:55 -04:00
parent b720b691de
commit 12ad629d4d

View File

@@ -70,6 +70,8 @@ public class MinecraftConnection extends ChannelInboundHandlerAdapter {
if (association != null) {
logger.info("{} has disconnected", association);
}
teardown();
}
@Override