If the channel becomes inactive, the connection's closed, too.
This commit is contained in:
@@ -70,6 +70,8 @@ public class MinecraftConnection extends ChannelInboundHandlerAdapter {
|
|||||||
if (association != null) {
|
if (association != null) {
|
||||||
logger.info("{} has disconnected", association);
|
logger.info("{} has disconnected", association);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
teardown();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Reference in New Issue
Block a user