puzhibing
2023-08-16 d5b3e5a413bcfccba294793ee093722f31b2448a
zuul/src/main/java/com/sinata/zuul/util/echo/NettyChannelMap.java
@@ -78,6 +78,9 @@
    */
   @SuppressWarnings("rawtypes")
   public static synchronized void remove(ChannelHandlerContext value) {
      if(null == value){
         return;
      }
      Set<String> strings = map.keySet();
      for(String key : strings){
         ChannelHandlerContext channelHandlerContext = map.get(key);
@@ -104,6 +107,11 @@
      }
   }
   public static synchronized void remove_(String key) {
      ctxMap.remove(key);
   }
   
   /**
    * Remove the data resources.