ソースを参照

解决data报错问题

johnclot69 3 ヶ月 前
コミット
fa699f58cd

+ 1 - 1
incubator-core/src/main/java/com/incubator/core/net/ws/MsgBase.java

@@ -68,7 +68,7 @@ public abstract class MsgBase {
         this.cmd = 0;
         this.code = 0;
         this.message = "";
-        this.data.clear();
+        this.data = new ConcurrentHashMap<>();
     }
 
     /**