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: memory leak when transpiling #24490

Merged
merged 8 commits into from
Jul 10, 2024
Merged

Conversation

bartlomieju
Copy link
Member

This commit fixes memory leak described in #24380.

This is done by upgrading following crates:

  • deno_ast
  • deno_graph
  • eszip
  • dprint-plugin-typescript
  • deno_lint
  • deno_doc
  • deno_emit

@bartlomieju bartlomieju requested a review from dsherret July 9, 2024 20:17
@@ -198,6 +198,7 @@ pub fn ts_config_to_transpile_and_emit_options(
jsx_import_source: options.jsx_import_source,
precompile_jsx,
precompile_jsx_skip_elements: options.jsx_precompile_skip_elements,
precompile_jsx_dynamic_props: None,
Copy link
Member Author

Choose a reason for hiding this comment

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

CC @marvinhagemeister you can now thread the options from deno_config

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

@bartlomieju bartlomieju enabled auto-merge (squash) July 10, 2024 03:57
@bartlomieju bartlomieju merged commit 8b34c4d into denoland:main Jul 10, 2024
17 checks passed
@bartlomieju bartlomieju deleted the upgrade_crates branch July 10, 2024 14:01
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