Skip to content

Conversation

@kettanaito
Copy link
Member

@kettanaito kettanaito commented Jul 1, 2025

Update: According to the contributors' investigation, this leak originates from MockHttpSocket not removing the listeners from the passthrough socket instance once the socket is no longer needed. It's better we added the memory leak test in Interceptors.

@kettanaito kettanaito mentioned this pull request Jul 1, 2025
4 tasks
@pkg-pr-new
Copy link

pkg-pr-new bot commented Jul 1, 2025

Open in StackBlitz

npm i https://pkg.pr.new/msw@2542

commit: 70a87ca

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Memory leak with Node.js 20+

2 participants