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

Update goja to prevent hangs around try/catch and Interrupts #2600

Merged
merged 1 commit into from
Jul 14, 2022

Conversation

mstoykov
Copy link
Contributor

@mstoykov mstoykov commented Jul 14, 2022

As explained in the upstream PR previous to these changes,
there was a way for Interrupt to basically be catched by a try/catch.

This is still possible now, but it requiers that go code does actually clear the interrupt.

It also clears the promise jobs if the whole execution gets interrupted which also would've been a
problem, once we actually used them more.

For more info see the upstream changes and tests

@mstoykov mstoykov added this to the v0.40.0 milestone Jul 14, 2022
@github-actions github-actions bot requested review from na-- and olegbespalov July 14, 2022 11:54
@mstoykov mstoykov merged commit 2983faf into master Jul 14, 2022
@mstoykov mstoykov deleted the updateGoja branch July 14, 2022 13:03
@codebien codebien mentioned this pull request Aug 31, 2022
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.

3 participants