Skip to content

Unit testing code with WeakRef/FinalizationRegistry, like this LinkedAbortController #36467

Answered by jasnell
noseratio asked this question in General
Discussion options

You must be logged in to vote

Forcing? Not really. You could try the natives syntax function %CollectGarbage but I believe that has the same impact as calling global.gc()

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@noseratio
Comment options

@benjamingr
Comment options

Answer selected by noseratio
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants