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

Stream should unpipe from Readable on destroy. #361

Merged
merged 2 commits into from
Aug 29, 2015

Conversation

vqvu
Copy link
Collaborator

@vqvu vqvu commented Aug 10, 2015

Stream should unpipe from Readable on destroy. This is potentially a memory leak otherwise.

Not too relevant in 2.x since I doubt many people call destroy manually, but the 3.x engine will automatically destroy streams that are no longer needed.

@vqvu
Copy link
Collaborator Author

vqvu commented Aug 29, 2015

Merging this since no one seems to have any comments.

vqvu added a commit that referenced this pull request Aug 29, 2015
Stream should unpipe from Readable on destroy.
@vqvu vqvu merged commit 746b1fa into caolan:master Aug 29, 2015
@vqvu vqvu deleted the unpipe-on-destroy branch November 18, 2015 05:53
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