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

Don't free resolved modules and add tests #202

Merged
merged 2 commits into from
Aug 18, 2023
Merged

Conversation

DelSkayn
Copy link
Owner

@DelSkayn DelSkayn commented Aug 18, 2023

Patches quickjs to free only unresolved modules instead of unevaluated modules. This will cause some more memory being used in certain cases but I think that is an acceptable tradeoff for safety.

Should fix #198

@DelSkayn DelSkayn merged commit b071f71 into master Aug 18, 2023
54 checks passed
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.

Segfault when evaluating modules that throws an error
1 participant