Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix memory leaking and avoid crash at RenderTexture #20531

Open
wants to merge 1 commit into
base: v4
Choose a base branch
from

Conversation

sidepelican
Copy link
Contributor

Fix #20529 and #20530 .

  • just add texture->release();
  • avoid to use _texture2D in callback.

zhongfq added a commit to zhongfq/cocos-lua that referenced this pull request Jun 28, 2020
mpereyra added a commit to brooklynpacket/cocos2d-x that referenced this pull request May 5, 2021
Fix random ios crash reported by firebase.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Memory Leaking of Texture2D at CCRenderTexture.cpp
1 participant