Skip to content

Commit

Permalink
fixup: nextTick callback
Browse files Browse the repository at this point in the history
  • Loading branch information
ronag committed Dec 5, 2021
1 parent f0ec29b commit cf85105
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/internal/streams/pipeline.js
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ function pipelineImpl(streams, callback, opts) {
ac.abort();

if (final) {
callback(error, value);
process.nextTick(callback, error, value);
}
}

Expand Down

0 comments on commit cf85105

Please sign in to comment.