Skip to content

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

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#91
veillette merged 1 commit into
mainfrom
fix/memory-leak-gc

Conversation

@veillette

Copy link
Copy Markdown
Collaborator

Summary

  • Pass every WeakRef into forceGC (batch create/dispose, scene teardown, preset swap) so the loop stops once all are collected.
  • Matches SceneryStackTemplate. Cuts suite time when gc() is slow (locally ~138s → ~90s).

Test plan

  • npm run lint && npm run check && npm test (416 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 66f2e6a 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