cocos creator 2.1.0版本 客户端报错,卡死

cocos creator 2.10.0版本

jsb里有内存泄漏

D/jswrapper (129): JS: [ERROR]: object already destroyed
D/jswrapper (129): JS: [ERROR]: object already destroyed
D/jswrapper (129): JS: [ERROR]: object already destroyed
D/jswrapper (129): JS: [ERROR]: object already destroyed
D/jswrapper (129): JS: [ERROR]: object already destroyed
D/jswrapper (129): JS: [ERROR]: object already destroyed
D/jswrapper (129): JS: [ERROR]: object already destroyed
D/jswrapper (129): JS: [ERROR]: object already destroyed
E/jswrapper (271): ERROR: Uncaught TypeError: this.x.toFixed is not a function, location: src/cocos2d-jsb.js:0:0
STACK:
[0]279.proto.toString@src/cocos2d-jsb.js:46886
[1]__realTypeOfObj@src/cocos2d-jsb.js:81774
[2]compileDestruct@src/cocos2d-jsb.js:28549
[3]183.prototype._destruct@src/cocos2d-jsb.js:28598
[4]183.prototype._destroyImmediate@src/cocos2d-jsb.js:28611
[5]_onPreDestroy@src/cocos2d-jsb.js:45165
[6]_onPreDestroy@src/cocos2d-jsb.js:9165
[7]183.prototype._destroyImmediate@src/cocos2d-jsb.js:28609
[8]_onPreDestroy@src/cocos2d-jsb.js:45162
[9]_onPreDestroy@src/cocos2d-jsb.js:9165
[10]183.prototype._destroyImmediate@src/cocos2d-jsb.js:28609
[11]_onPreDestroy@src/cocos2d-jsb.js:45162
[12]_onPreDestroy@src/cocos2d-jsb.js:9165
[13]183.prototype._destroyImmediate@src/cocos2d-jsb.js:28609
[14]_onPreDestroy@src/cocos2d-jsb.js:45162
[15]_onPreDestroy@src/cocos2d-jsb.js:9165
[16]183.prototype._destroyImmediate@src/cocos2d-jsb.js:28609
[17]_onPreDestroy@src/cocos2d-jsb.js:45162
[18]_onPreDestroy@src/cocos2d-jsb.js:9165
[19]183.prototype._destroyImmediate@src/cocos2d-jsb.js:28609
E/jswrapper (521): [ERROR] (c:\cocoscreator\resources\cocos2d-x\cocos\scripting\js-bindings\jswrapper\v8\object.cpp, 521): Invoking function (0D434318) failed!

正准备升级,是不是打成PC包,会报错卡死?

查出来了,这个是我自己代码安全性问题,Vec2和Rect如果有值为null,会卡死