Skip to content

Move "no more objects" assert to right place#649

Merged
bnoordhuis merged 1 commit intoquickjs-ng:masterfrom
bnoordhuis:fix648
Nov 6, 2024
Merged

Move "no more objects" assert to right place#649
bnoordhuis merged 1 commit intoquickjs-ng:masterfrom
bnoordhuis:fix648

Conversation

@bnoordhuis
Copy link
Copy Markdown
Contributor

No test because I can only get it to trigger with qjs, not run-test262, but the problem is that we need to run FinalizationRegistry finalizers before asserting no objects remain.

Fixes: #648

No test because I can only get it to trigger with qjs, not run-test262,
but the problem is that we need to run FinalizationRegistry finalizers
before asserting no objects remain.

Fixes: quickjs-ng#648
@saghul
Copy link
Copy Markdown
Contributor

saghul commented Nov 6, 2024

Nice catch!

@bnoordhuis bnoordhuis merged commit 0a70623 into quickjs-ng:master Nov 6, 2024
@bnoordhuis bnoordhuis deleted the fix648 branch November 6, 2024 13:54
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.

FinalizationRegistry resource leak?

2 participants