Skip to content

Fix https://github.com/fengari-lua/fengari-web/issues/66 #84

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

oezingle
Copy link

@oezingle oezingle commented Mar 7, 2025

! This implementation is not safe to merge yet - it leaks memory !

Hey all,

I had a bit of an issue with fengari-web (#66) and managed to resolve it with this patch.

However, the wrapped_proxies object leaks memory if its source lua object is collected. I can't think of an easy solution, as I don't want to rely on WeakMap (the API seems too new). If anyone is able to provide a solution for this garbage collection issue, please let me know.

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