Skip to content

Fix tint color dead lock #1731#1732

Merged
ernestmama merged 3 commits into
TextureGroup:masterfrom
lkzhao:master
Nov 25, 2019
Merged

Fix tint color dead lock #1731#1732
ernestmama merged 3 commits into
TextureGroup:masterfrom
lkzhao:master

Conversation

@lkzhao

@lkzhao lkzhao commented Nov 22, 2019

Copy link
Copy Markdown
Contributor

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

CLAassistant commented Nov 22, 2019

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

update to use scoped lock
@muukii

muukii commented Nov 24, 2019

Copy link
Copy Markdown
Contributor

@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.

5 participants