axmol/cocos/scripting/js-bindings/manual/network
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
..
XMLHTTPRequest.cpp fix JSB Memory leaks and crashes (#18577) 2018-01-10 14:39:45 +08:00
XMLHTTPRequest.h Fixing serious XMLHTTP leak when CC_ENABLE_GC_FOR_NATIVE_OBJECTS enabled (#17844) 2017-05-22 13:40:07 +08:00
js_network_manual.cpp Bindings fix and assets manger ex fix (#17115) 2017-03-15 16:09:02 +08:00
js_network_manual.h Bindings fix and assets manger ex fix (#17115) 2017-03-15 16:09:02 +08:00
jsb_socketio.cpp V3.15 (#17752) 2017-04-27 09:25:20 +08:00
jsb_socketio.h Update license to 2017 (#17362) 2017-02-14 14:36:57 +08:00
jsb_websocket.cpp Bindings fix and assets manger ex fix (#17115) 2017-03-15 16:09:02 +08:00
jsb_websocket.h Update license to 2017 (#17362) 2017-02-14 14:36:57 +08:00