opened 10:26AM - 16 Jun 24 UTC
closed 05:37AM - 17 Jun 24 UTC
Cocos Creator version
3.8.0
System information
Android
Issue description
主要体现在websocket的传输后 内存泄漏问题。 cocos我感觉开源非常好,但是可编程渲染管线支持非常差。 特别是用js写代码还不能写线程 你要是用cpp写代码我立马抛弃unity , 毕竟以后dots为天下 希望支持dots时候改成cpp写代码
websocket 拿onbinarymessage。在android 的时候会有内存不断升高的bug,经过长时间的探究发现 需要在Websocket-okhttp.cpp的binarymessage里面加一句env->ReleaseByteArrayElements(static_cast(strongRef), array, 0);
Relevant error log output
No response
Steps...
Bug
P0
Env: Native
Env: Android