aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorSoarez <igorsoarez@gmail.com>2012-10-18 16:53:53 +0100
committerBen Noordhuis <info@bnoordhuis.nl>2012-10-21 22:58:14 +0200
commit72ce9baa75434f64e42ee4e666897ddfd754c822 (patch)
treec68b79261af642451d5a8f6637f7af678c36ce6c /lib
parentcb6d084d356da501bbdcfb6d0ac90180e011a9e2 (diff)
downloadandroid-node-v8-72ce9baa75434f64e42ee4e666897ddfd754c822.tar.gz
android-node-v8-72ce9baa75434f64e42ee4e666897ddfd754c822.tar.bz2
android-node-v8-72ce9baa75434f64e42ee4e666897ddfd754c822.zip
streams: remove useless line
The removed line was removing a calllback that was never setup in first place. 016afe2 forgot to remove this.
Diffstat (limited to 'lib')
-rw-r--r--lib/stream.js1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/stream.js b/lib/stream.js
index b40a774d9c..16e2e0e723 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);
}