You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
version: v3.5 issue: Create a GLProgram object and release it, the memory of it do not release. reproduce: GLProgram is an autorelease object. Notice the memory.
for (int i=0; i<500; i++) {
auto glProgram = cocos2d::GLProgram::createWithByteArrays(cocos2d::ccPositionTextureColor_noMVP_vert, cocos2d::ccPositionTextureColor_frag);
}
The text was updated successfully, but these errors were encountered:
Memory leak does not exists. Tested on IOS by using profile tools.
However, the program would crash if there are two many glprograms create in a short while because the release of the memory is delayed.
version:
v3.5issue:
Create a GLProgram object and release it, the memory of it do not release.reproduce:
GLProgram is an autorelease object. Notice the memory.The text was updated successfully, but these errors were encountered: