Permalink
Browse files

[api] Delete `this.chunks` on `destroy`

  • Loading branch information...
1 parent d57d3ea commit cb3b3bc8dd321a44eaad5e3c6933a7b5c4d2ff16 @mmalecki mmalecki committed Jul 2, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/buffered-stream.js
View
@@ -118,6 +118,7 @@ BufferedStream.prototype.end = function () {
BufferedStream.prototype.destroy = function () {
this.readable = false;
this.writable = false;
+ delete this.chunks;
};
BufferedStream.prototype.close = function () {

0 comments on commit cb3b3bc

Please sign in to comment.