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

fix(runtime): Box the main future to avoid blowing up the stack #19155

Merged
merged 7 commits into from
May 17, 2023

Conversation

mmastrac
Copy link
Contributor

@mmastrac mmastrac commented May 16, 2023

This fixes Unhandled exception at [...] Stack overflow on Windows, caused by the large size of the main future.

Copy link
Member

@dsherret dsherret left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks!

Copy link
Member

@bartlomieju bartlomieju left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Member

@dsherret dsherret left a comment

Choose a reason for hiding this comment

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

Looks good to me again!

@mmastrac mmastrac merged commit 62e779f into denoland:main May 17, 2023
@lucacasonato
Copy link
Member

You merged this without my review??? 🥹

levex pushed a commit that referenced this pull request May 18, 2023
This fixes `Unhandled exception at [...] Stack overflow` on Windows,
caused by the large size of the main future.
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.

7 participants