@ives_xxz/framework 1.1.4 → 1.1.5

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.
@@ -221,14 +221,15 @@ export default class FWHotUpdateManager extends FWManager implements FW.HotUpdat
221
221
  FWLog.debug('热更新中结果 needRestart -> ', needRestart);
222
222
  FWLog.debug('下载完成');
223
223
  this.assetMgr.setEventCallback(null!);
224
- this.assetMgr = null;
225
- this.isRetry = false;
226
- this.isUpdate = false;
227
224
  var searchPaths = jsb.fileUtils.getSearchPaths();
228
225
  var newPaths = this.assetMgr.getLocalManifest().getSearchPaths();
229
226
  Array.prototype.unshift.apply(searchPaths, newPaths);
230
227
  jsb.fileUtils.setSearchPaths(searchPaths);
228
+ this.isRetry = false;
229
+ this.isUpdate = false;
230
+ this.assetMgr = null;
231
231
  this.listener.completedHandle?.(this.newVersion);
232
+
232
233
  }
233
234
  }
234
235
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ives_xxz/framework",
3
- "version": "1.1.4",
3
+ "version": "1.1.5",
4
4
  "description": "cocoscreator 2.x mvc framework",
5
5
  "main": "index.js",
6
6
  "keywords": [