Cocos2d-x-Asynchronous-Http-Request-Library
Cocos2d-x-Asynchronous-Http-Request-Library copied to clipboard
A simple library wrote as a cocos2d-x extension that provides asynchronously http get/post/download request facility.
is there on cocos2dx v3 ?
Why not call requestor->purgeSharedHttpRequest() after requestor->addDownloadTask(downloads, this, callfuncND_selector(HelloWorld::onHttpRequestCompleted)); to release the requestor object? I added it after addDownloadTask in demo, but still find memory leak because scheduleSelector will retain request...
hello