Skip to content

Commit 72ce9ba

Browse files
soarezbnoordhuis
authored andcommitted
streams: remove useless line
The removed line was removing a calllback that was never setup in first place. 016afe2 forgot to remove this.
1 parent cb6d084 commit 72ce9ba

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

lib/stream.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,6 @@ Stream.prototype.pipe = function(dest, options) {
9999
source.removeListener('end', cleanup);
100100
source.removeListener('close', cleanup);
101101

102-
dest.removeListener('end', cleanup);
103102
dest.removeListener('close', cleanup);
104103
}
105104

0 commit comments

Comments
 (0)