Fix potential memory leak in module runner#13087
Conversation
|
|
Codeowners approval required for this PR:
Show detailed file reviewers |
|
File: Issue: Missing body/description The changeset contains only a title with no body paragraph. Per the guidelines in
A patch-level bug fix description like "Fix potential memory leak in module runner" should explain:
Example of what the changeset should look like: ---
"@cloudflare/vite-plugin": patch
---
Fix potential memory leak in module runner
Previously, [describe what was not cleaned up, e.g., "event listeners / references were not released when the module runner was disposed"]. This could cause memory to grow unboundedly in long-running dev sessions. The fix ensures [brief description of the fix].The version type ( |
|
Now I have a thorough understanding of the changes. Let me analyze the PR: Changes summary:
Analysis:
This is a clean, correct fix. No logic bugs, no edge cases missed. LGTM |
create-cloudflare
@cloudflare/kv-asset-handler
miniflare
@cloudflare/pages-shared
@cloudflare/unenv-preset
@cloudflare/vite-plugin
@cloudflare/vitest-pool-workers
@cloudflare/workers-editor-shared
wrangler
commit: |
Follow up to #12953
Clean up module runner callbacks on errors to fix potential memory leak.
A picture of a cute animal (not mandatory, but encouraged)