mirror of https://github.com/nodejs/node.git
streams: remove useless line
The removed line was removing a calllback that was never setup
in first place. 016afe2
forgot to remove this.
pull/24504/head
parent
cb6d084d35
commit
72ce9baa75
|
@ -99,7 +99,6 @@ Stream.prototype.pipe = function(dest, options) {
|
|||
source.removeListener('end', cleanup);
|
||||
source.removeListener('close', cleanup);
|
||||
|
||||
dest.removeListener('end', cleanup);
|
||||
dest.removeListener('close', cleanup);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue