Browse Source

Pull request #3701: KERNEL-16950 fix: 内存泄露问题

Merge in VISUAL/fineui from ~IMP/fineui_fui:master to master

* commit '0e8e943686002bfdc88957f11bea3ec2ea5a63b1':
  KERNEL-16950 fix: 内存泄露问题
research/test
imp-张健 12 months ago
parent
commit
a9cc2591f0
  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