Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fixup: state.length
  • Loading branch information
ronag committed Dec 7, 2019
commit 764e41a8a506b9783d423582068de215d78bf37d
1 change: 1 addition & 0 deletions lib/_stream_writable.js
Original file line number Diff line number Diff line change
Expand Up @@ -555,6 +555,7 @@ function errorBuffer(state, err, sync) {
entry.callback(err);
}
}
state.length = 0;
state.bufferedRequest = null;
state.lastBufferedRequest = null;
state.bufferedRequestCount = 0;
Comment thread
ronag marked this conversation as resolved.
Outdated
Expand Down