Skip to content

Conversation

bnoordhuis
Copy link
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
Contributor

saghul commented Nov 6, 2024

Nice catch!

@bnoordhuis bnoordhuis merged commit 0a70623 into quickjs-ng:master Nov 6, 2024
46 of 47 checks passed
@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