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

Avoid reentrant calls to sendFrame in immediate clock #92

Conversation

jingibus
Copy link
Contributor

If sendFrame is invoked immediately, it may cause recomposition to occur recursively. Punting that sendFrame invocation out allows the original frame to be processed completely before the next frame is triggered. This matches the design intent for recomposition, and should result in more predictable output.

(also, Adam Powell told me to)

@JakeWharton JakeWharton merged commit b0623af into cashapp:trunk Jul 15, 2022
@jingibus jingibus deleted the wphillips/2022-07-15/non-reentrant-immediate-frame-clock branch July 15, 2022 23:29
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.

2 participants