1
zhang
5 天以前 add29c9dfe37a3147ee1a426e1dba2f42ad741e6
src/main/java/com/zy/core/netty/handle/ProtectorHandler.java
@@ -37,7 +37,7 @@
            if (IdleState.READER_IDLE == e.state()) {
                String uuid = ChannelCache.removeChannel(ctx.channel());
                ctx.close();
                if (!Cools.isEmpty(uuid)){
                if (!Cools.isEmpty(uuid)) {
                    log.info("uuid={} 空闲剔除", uuid);
                }
            }
@@ -51,7 +51,7 @@
    public void channelInactive(ChannelHandlerContext ctx) {
        String uuid = ChannelCache.removeChannel(ctx.channel());
        ctx.close();
        if (!Cools.isEmpty(uuid)){
        if (!Cools.isEmpty(uuid)) {
            log.info("通道 uuid={} 失去连接", uuid);
        }
    }