Commit a87963d
stream: fix pipeline calling end on destination more than once
Fixes: #42866
PR-URL: #46226
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Robert Nagy <ronagy@icloud.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Minwoo Jung <nodecorelab@gmail.com>1 parent 0defe4e commit a87963dCopy full SHA for a87963d
File tree
Expand file treeCollapse file tree
2 files changed
+36
-1
lines changedOpen diff view settings
Filter options
- lib/internal/streams
- test/parallel
Expand file treeCollapse file tree
2 files changed
+36
-1
lines changedOpen diff view settings
Collapse file
lib/internal/streams/pipeline.js
Copy file name to clipboardExpand all lines: lib/internal/streams/pipeline.js+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
353 | 353 | |
354 | 354 | |
355 | 355 | |
356 | | - |
| 356 | + |
357 | 357 | |
358 | 358 | |
359 | 359 | |
|
Collapse file
test/parallel/test-stream-pipeline.js
Copy file name to clipboardExpand all lines: test/parallel/test-stream-pipeline.js+35Lines changed: 35 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1556 | 1556 | |
1557 | 1557 | |
1558 | 1558 | |
| 1559 | + |
| 1560 | + |
| 1561 | + |
| 1562 | + |
| 1563 | + |
| 1564 | + |
| 1565 | + |
| 1566 | + |
| 1567 | + |
| 1568 | + |
| 1569 | + |
| 1570 | + |
| 1571 | + |
| 1572 | + |
| 1573 | + |
| 1574 | + |
| 1575 | + |
| 1576 | + |
| 1577 | + |
| 1578 | + |
| 1579 | + |
| 1580 | + |
| 1581 | + |
| 1582 | + |
| 1583 | + |
| 1584 | + |
| 1585 | + |
| 1586 | + |
| 1587 | + |
| 1588 | + |
| 1589 | + |
| 1590 | + |
| 1591 | + |
| 1592 | + |
| 1593 | + |
0 commit comments