Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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
You can’t perform that action at this time.