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

Memory leak when calling JS functions #129

Open
chrfalch opened this issue Oct 18, 2023 · 0 comments · May be fixed by #131
Open

Memory leak when calling JS functions #129

chrfalch opened this issue Oct 18, 2023 · 0 comments · May be fixed by #131

Comments

@chrfalch
Copy link
Collaborator

mrousavy/react-native-vision-camera#1953

chrfalch added a commit that referenced this issue Oct 28, 2023
To make sure we free any underlying values due to the dreaded hermes GC issue where internally allocated memory is not calcualated when considering garbage collection we need to implement this ourselves.

A shared value is now disposed and all resources allocated should be released. This is done through wrappers.

When deleting argument wrappers we also release any resources.

Fixes #129
@chrfalch chrfalch linked a pull request Oct 28, 2023 that will close this issue
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 a pull request may close this issue.

1 participant