Browse Source

KERNEL-16950 fix: 内存泄露问题

research/test
jian 11 months ago
parent
commit
0e8e943686
  1. 3
      packages/fineui/src/fix/fix.js

3
packages/fineui/src/fix/fix.js

@ -1380,10 +1380,13 @@ class Model {
});
});
this._watchers && (this._watchers = []);
this._computedWatchers && (this._computedWatchers = []);
this.destroyed && this.destroyed();
this.$$model = null;
this.$$computed = null;
this.$$state = null;
this.$$context = null;
this.model = null;
this._destroyHandler && this._destroyHandler();
}
}

Loading…
Cancel
Save