Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[api] Delete this.chunks on destroy
  • Loading branch information
mmalecki committed Jul 2, 2012
1 parent d57d3ea commit cb3b3bc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/buffered-stream.js
Expand Up @@ -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 () {
Expand Down

0 comments on commit cb3b3bc

Please sign in to comment.