Skip to content

Fix scheduler setTimeout() re-entrancy check #14384

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

Merged
merged 1 commit into from
Dec 3, 2018

Conversation

bvaughn
Copy link
Contributor

@bvaughn bvaughn commented Dec 3, 2018

While looking at publishing a patch for the [email protected] I noticed that I'd broken the re-entrancy check for the setTimeout branch.

I'm not sure this actually matters, since this check looks to be redundant. (There's also a isExecutingCallback check that prevents requestHostCallback from being called while another callback is being executed.)

@bvaughn bvaughn merged commit 6bf5e85 into facebook:master Dec 3, 2018
@bvaughn bvaughn deleted the fix-scheduler-reentrency-check branch December 3, 2018 18:54
trueadm pushed a commit to trueadm/react that referenced this pull request Dec 14, 2018
jetoneza pushed a commit to jetoneza/react that referenced this pull request Jan 23, 2019
n8schloss pushed a commit to n8schloss/react that referenced this pull request Jan 31, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants