axmol/cocos/scripting/js-bindings/manual/cocosbuilder
James Chen b2ecbca549 fix JSB Memory leaks and crashes (#18577)
* [game] Uses global compartment.

* fixed cocostudio bug.

* Fixes Memory leak for JSB.

* Memory leak in ActionsTest.js

* js_callfunc binding check whether jsThis is valid.

* Fixes potential crash in DownloadDelegator .

* CCLOG -> CCLOGINFO for garbage collect callback.

* jsb_c_proxy_s is a struct which contains a JS::Heap<> cpp object. Need to use `new`/`delete` to manage its memory.

* The functionality of JS controls C++ object's lifecycle isn't stable enough, please don't enable it now. Make an error if user enables it.

* Compilation error fixes.

* Removes unused JSAutoCompartment since we use JS_EnterCompartment/JS_LeaveCompartment now.
2018-01-10 14:39:45 +08:00
..
cocosbuilder_specifics.hpp fix JSB Memory leaks and crashes (#18577) 2018-01-10 14:39:45 +08:00
js_bindings_ccbreader.cpp fix JSB Memory leaks and crashes (#18577) 2018-01-10 14:39:45 +08:00
js_bindings_ccbreader.h Update license to 2017 (#17362) 2017-02-14 14:36:57 +08:00