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 using abort signals #75

Open
dbas-dn opened this issue Jun 5, 2024 · 1 comment
Open

Memory leak when using abort signals #75

dbas-dn opened this issue Jun 5, 2024 · 1 comment

Comments

@dbas-dn
Copy link

dbas-dn commented Jun 5, 2024

We have encountered a memory leak issue. After an extensive search for the source of the leak, it was found that it occurred in pMap. Upon reviewing the source code of your package, I discovered that you subscribe to the AbortSignal event but do not unsubscribe from it, which causes the memory leak.

@sindresorhus
Copy link
Owner

// @jopemachine

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants