Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

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

Merged
merged 1 commit into from
Nov 6, 2024

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
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

FinalizationRegistry resource leak?
2 participants