-
Creator 版本:1.7.0
-
目标平台: Web / iOS / Android /
-
重现方式:
-
出现概率:100%
file:src/jsb_polyfill.js
line;7725
_onPreDestroy: function() {
this.unscheduleAllCallbacks();
for (var t = this.__eventTargets, e = 0, i = t.length; e < i; ++e) { // 这局报错
var n = t[e];
n && n.targetOff(this);
}
t.length = 0;
0;
cc.director._nodeActivator.destroyComp(this);
this.node._removeComponent(this);
0;
},
error:TypeError: null is not an object (evaluating ‘t.length’)