Skip to content

Commit

Permalink
Removed close event handler as it was causing self.emit('end') to be …
Browse files Browse the repository at this point in the history
…called twice.
  • Loading branch information
Micah Silverman committed Sep 13, 2011
1 parent 67bcb35 commit e31d888
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/carrier.js
Expand Up @@ -54,7 +54,6 @@ function Carrier(reader, listener, encoding) {
}

reader.on('end', ender);
reader.on('close', ender);
}

util.inherits(Carrier, events.EventEmitter);
Expand Down

0 comments on commit e31d888

Please sign in to comment.