@ives_xxz/framework 2.3.8 → 2.3.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ives_xxz/framework",
3
- "version": "2.3.8",
3
+ "version": "2.3.9",
4
4
  "description": "cocoscreator 2.x mvc framework",
5
5
  "main": "index.js",
6
6
  "keywords": ["123456"],
@@ -142,8 +142,7 @@ export default class FWSocket extends FW.Service implements FW.Socket {
142
142
 
143
143
  public onDestroy(): void {
144
144
  this.messageEvents = cc.js.createMap();
145
- this.socket?.close();
146
- this.socket = null;
145
+ this.close();
147
146
  }
148
147
 
149
148
  public getTag() {