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

Revert #1023 #trivial #1204

Merged
merged 1 commit into from
Nov 3, 2018
Merged

Revert #1023 #trivial #1204

merged 1 commit into from
Nov 3, 2018

Conversation

maicki
Copy link
Contributor

@maicki maicki commented Oct 31, 2018

We will revert #1023 until we find a different solution for the underlying issue.

The current solution introduces problems if we are unlocking before calling _completePendingLayoutTransition in _u_measureNodeWithBoundsIfNecessary. _completePendingLayoutTransition needs to be happening in one transaction if called from _u_measureNodeWithBoundsIfNecessary.

Unfortunately this also means we need to remove some of our locking assertions within subnodes insertion / removal methods.

@maicki maicki changed the title Revert #1023 Revert #1023 #trivial Oct 31, 2018
@maicki maicki force-pushed the MSRevert#1023 branch 2 times, most recently from ea29eee to 1c7da5d Compare November 1, 2018 20:56
Copy link
Member

@nguyenhuy nguyenhuy left a comment

Choose a reason for hiding this comment

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

Thanks for taking care of this!

We will revert #1023. The current solution introduces problems if we are unlocking before calling _completePendingLayoutTransition. _completePendingLayoutTransition needs to be happening in one transaction if called from _u_measureNodeWithBoundsIfNecessary.
@nguyenhuy nguyenhuy merged commit a34f453 into master Nov 3, 2018
@maicki maicki deleted the MSRevert#1023 branch November 6, 2018 03:18
mikezucc pushed a commit to mikezucc/Texture that referenced this pull request Nov 7, 2018
We will revert TextureGroup#1023. The current solution introduces problems if we are unlocking before calling _completePendingLayoutTransition. _completePendingLayoutTransition needs to be happening in one transaction if called from _u_measureNodeWithBoundsIfNecessary.
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

2 participants