Permalink
Browse files

reluctantly change to end, because more people have implemented that …

…correctly
  • Loading branch information...
dominictarr committed Jul 6, 2012
1 parent bd55381 commit a3f192fd2dc89ac7ec6c6c77236b6c28d0699631
Showing with 1 addition and 1 deletion.
  1. +1 −1 index.js
View
@@ -31,7 +31,7 @@ ree.getStream = function () {
this.emit('end')
self.disconnect()
})
- this.stream.once('close', function () {
+ this.stream.once('end', function () {
self.disconnect()
})
var pipe = this.stream.pipe

0 comments on commit a3f192f

Please sign in to comment.