From cb3cbeba7b17deb777e9866b4718bb41527c3b37 Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@63.com>
Date: 星期六, 30 七月 2022 17:07:26 +0800
Subject: [PATCH] #

---
 src/main/java/com/zy/core/netty/handle/ProtectorHandler.java |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/main/java/com/zy/core/netty/handle/ProtectorHandler.java b/src/main/java/com/zy/core/netty/handle/ProtectorHandler.java
index ec0b43c..add63dd 100644
--- a/src/main/java/com/zy/core/netty/handle/ProtectorHandler.java
+++ b/src/main/java/com/zy/core/netty/handle/ProtectorHandler.java
@@ -62,8 +62,8 @@
     @Override
     public void exceptionCaught(ChannelHandlerContext ctx, Throwable cause) {
         cause.printStackTrace();
-        ChannelCache.removeChannel(ctx.channel());
-        ctx.close();
+//        ChannelCache.removeChannel(ctx.channel());
+//        ctx.close();
     }
 
 }

--
Gitblit v1.9.1