Skip to content

Commit cf85105

Browse files
committed
fixup: nextTick callback
1 parent f0ec29b commit cf85105

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/internal/streams/pipeline.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ function pipelineImpl(streams, callback, opts) {
194194
ac.abort();
195195

196196
if (final) {
197-
callback(error, value);
197+
process.nextTick(callback, error, value);
198198
}
199199
}
200200

0 commit comments

Comments
 (0)