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 on unused function calls #2123

Open
ospencer opened this issue Jun 18, 2024 · 0 comments
Open

Memory leak on unused function calls #2123

ospencer opened this issue Jun 18, 2024 · 0 comments
Assignees
Labels

Comments

@ospencer
Copy link
Member

In

let f = () => (1, 2)
f()
f()
f()
f()

the memory allocated by the calls to f is not reclaimed. This is not the case if f is inlined (which is probably why this was not discovered).

@ospencer ospencer self-assigned this Jun 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants