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

Unwind the current workInProgress if it's suspended #25247

Merged
merged 1 commit into from
Sep 13, 2022

Commits on Sep 13, 2022

  1. Unwind the current workInProgress if it's suspended

    Usually we complete workInProgress before yielding but if that's the
    currently suspended one, we don't yet complete it in case we can
    immediately unblock it.
    
    If we get interrupted, however, we must unwind it. Where as we usually
    assume that we've already completed it.
    
    This shows up when the current work in progress was a Context that pushed
    and then it suspends in its immediate children. If we don't unwind,
    it won't pop and so we get an imbalance.
    sebmarkbage committed Sep 13, 2022
    Configuration menu
    Copy the full SHA
    8a1e64b View commit details
    Browse the repository at this point in the history