streams: remove useless line
The removed line was removing a calllback that was never setup in first place. 016afe2 forgot to remove this.
This commit is contained in:
parent
cb6d084d35
commit
72ce9baa75
@ -99,7 +99,6 @@ Stream.prototype.pipe = function(dest, options) {
|
|||||||
source.removeListener('end', cleanup);
|
source.removeListener('end', cleanup);
|
||||||
source.removeListener('close', cleanup);
|
source.removeListener('close', cleanup);
|
||||||
|
|
||||||
dest.removeListener('end', cleanup);
|
|
||||||
dest.removeListener('close', cleanup);
|
dest.removeListener('close', cleanup);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user