xuhy
2023-05-26 5430ccbd452a660bb55ba58d7d5e13ac8c6e7170
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.