We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
当我使用spine lua缓存的时候 texture 计数+1 create spine animation 释放spine lua缓存 spine animation update 崩溃
原因在于,缓存spine 后,texture 计数 一直是2 当我释放lua spine 缓存后,计数器变成1
自动内存回收,导致 texture 被释放。
The text was updated successfully, but these errors were encountered:
我的解决方案,暂时为: 在lua createwithdata时, texture +1 释放spine animation后,texture -1
计数器正常
Sorry, something went wrong.
测试代码? 加群描述下问题哈,解决起来快。
这是我的补丁版解决方案。
No branches or pull requests
当我使用spine lua缓存的时候
texture 计数+1
create spine animation
释放spine lua缓存
spine animation update 崩溃
原因在于,缓存spine 后,texture 计数 一直是2
当我释放lua spine 缓存后,计数器变成1
自动内存回收,导致 texture 被释放。
The text was updated successfully, but these errors were encountered: