From 72ce9baa75434f64e42ee4e666897ddfd754c822 Mon Sep 17 00:00:00 2001 From: Soarez Date: Thu, 18 Oct 2012 16:53:53 +0100 Subject: [PATCH] streams: remove useless line The removed line was removing a calllback that was never setup in first place. 016afe2 forgot to remove this. --- lib/stream.js | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/stream.js b/lib/stream.js index b40a774d9c2..16e2e0e723f 100644 --- a/lib/stream.js +++ b/lib/stream.js @@ -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); }