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 tint color dead lock #1731 #1732

Merged
merged 3 commits into from
Nov 25, 2019
Merged

Conversation

lkzhao
Copy link
Contributor

@lkzhao lkzhao commented Nov 22, 2019

https://github.com/TextureGroup/Texture/issues/#1731
Fix the dead lock issue caused by holding the imageNode's instance lock while walking up the view hierarchy to get the superNode's tintColor. If another thread is walking down the tree while holding the supernode's instance lock and trying to acquire the imageNode's lock, then we run into this dead lock.

@CLAassistant
Copy link

CLAassistant commented Nov 22, 2019

CLA assistant check
All committers have signed the CLA.

update to use scoped lock
@muukii
Copy link
Contributor

muukii commented Nov 24, 2019

@lkzhao
Hi, Thank you for fixing this issue!
I'm looking forward to using the latest version!

@ernestmama ernestmama merged commit cbc5104 into TextureGroup:master Nov 25, 2019
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.

None yet

5 participants