Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

fix: deref garbage collected owned refs #41

Merged
merged 1 commit into from
Jul 22, 2023

Conversation

eliassjogreen
Copy link
Member

I think we need to be careful with borrowed refs in addition to remembering to decrefing all rc'd refs.

NOTE: This should be tested to make sure we don't have any memory leaks or use-after-free issues.
This should be fine though and was tested with --v8-flags=--allow-natives-syntax and the natives function %CollectGarbage(true)

@eliassjogreen eliassjogreen merged commit 8988fe4 into main Jul 22, 2023
@eliassjogreen eliassjogreen deleted the fix/deref-garbage-refs branch July 22, 2023 21:17
@eliassjogreen eliassjogreen mentioned this pull request Aug 7, 2023
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.

1 participant