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

V2.1.2 fix spine crash #1758

Merged
merged 2 commits into from May 31, 2019

Conversation

@sunnylanwanjun
Copy link
Contributor

commented May 31, 2019

load spine res ref count = 1
SpineRenderer1 hold ref +1 = 2
play with spine happy
unload spine res ref -1 = 1

load spine res ref count (not change) = 1
SpineRenderer2 hold ref +1 = 2
play with spine happy
unload spine res ref -1 = 1

load spine res ref count (not change) = 1
SpineRenderer3 hold ref +1 = 2
play with spine happy

SE gc
SpineRenderer1 release ref -1 = 1
SpineRenderer2 release ref -1 = 0
play with spine unhappy (crashed)

@jareguo jareguo merged commit 3daa16e into cocos-creator:v2.1.2 May 31, 2019

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.