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

use lock in asyncTraitCollectionDidChangeWithPreviousTraitCollection #1651

Merged
merged 1 commit into from
Aug 30, 2019

Conversation

vovasty
Copy link
Contributor

@vovasty vovasty commented Aug 30, 2019

use lock to avoid crash when image might be changed during the trait collection change

@@ -767,6 +768,7 @@ - (void)asyncTraitCollectionDidChangeWithPreviousTraitCollection:(ASPrimitiveTra
// trigger needs display anyway, cause image might be dynamic itself (e.g. dynamic tint color)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Need to remove this or add unlock / return here

@vovasty vovasty merged commit 4d6532c into TextureGroup:master Aug 30, 2019
@vovasty vovasty deleted the asimagenode-lock branch August 30, 2019 19:46
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

4 participants