Skip to content

fix: early-exit GC loop for multi-ref memory-leak tests - #118

Merged
veillette merged 1 commit into
mainfrom
fix/memory-leak-gc
Aug 12, 2026
Merged

fix: early-exit GC loop for multi-ref memory-leak tests#118
veillette merged 1 commit into
mainfrom
fix/memory-leak-gc

Conversation

@veillette

Copy link
Copy Markdown
Collaborator

Summary

  • Pass the WeakRef array into forceGC so the 15-pass loop bails once every object is collected.
  • Matches SceneryStackTemplate. Avoids Vitest timeouts when gc() is slow and no refs were supplied.

Test plan

  • npm run lint && npm run check && npm test (61 passed)

Made with Cursor

@cursor

cursorBot commented Aug 12, 2026

Copy link
Copy Markdown

Bugbot is not enabled for your account, so this pull request was not reviewed.

Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs.

@github-actions

Copy link
Copy Markdown
Contributor

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Scanned Files

None

@veillette
veillette merged commit c0cf05e into mainAug 12, 2026
7 checks passed
@veillette
veillette deleted the fix/memory-leak-gc branch August 12, 2026 02:45
Sign up for freeto 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.

1 participant

@veillette