Created
May 2, 2012 01:15
-
-
Save mranney/2572830 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
GetBody.prototype.on_abort = function () { | |
log("get aborted", this.message_id + " after " + this.bytes_written + " bytes."); | |
if (this.disk_stream && this.disk_stream.readable) { | |
this.disk_stream.destroy(); // note that this has to be destroy or we'll keep getting data events | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment