Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Stream.prototype.pipe: Don't stop piping when the destination stream emits 'end' #2938

Closed
wants to merge 1 commit into
from
Jump to file or symbol
Failed to load files and symbols.
+0 −1
Split
View
@@ -112,7 +112,6 @@ Stream.prototype.pipe = function(dest, options) {
source.on('end', cleanup);
source.on('close', cleanup);
- dest.on('end', cleanup);
dest.on('close', cleanup);
dest.emit('pipe', source);