Commit 5367002
stream: do cleanup when iterator is destroyed
PR-URL: #42320
Reviewed-By: Robert Nagy <ronagy@icloud.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Nitzan Uziely <linkgoron@gmail.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>1 parent 3bd0078 commit 5367002Copy full SHA for 5367002
File tree
Expand file treeCollapse file tree
2 files changed
+18
-1
lines changedOpen diff view settings
Filter options
- lib/internal/streams
- test/parallel
Expand file treeCollapse file tree
2 files changed
+18
-1
lines changedOpen diff view settings
Collapse file
lib/internal/streams/readable.js
Copy file name to clipboardExpand all lines: lib/internal/streams/readable.js+4-1Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1122 | 1122 | |
1123 | 1123 | |
1124 | 1124 | |
1125 | | - |
| 1125 | + |
1126 | 1126 | |
1127 | 1127 | |
1128 | 1128 | |
| ||
1150 | 1150 | |
1151 | 1151 | |
1152 | 1152 | |
| 1153 | + |
| 1154 | + |
| 1155 | + |
1153 | 1156 | |
1154 | 1157 | |
1155 | 1158 | |
|
Collapse file
test/parallel/test-stream-readable-async-iterators.js
Copy file name to clipboardExpand all lines: test/parallel/test-stream-readable-async-iterators.js+14Lines changed: 14 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
789 | 789 | |
790 | 790 | |
791 | 791 | |
| 792 | + |
| 793 | + |
| 794 | + |
| 795 | + |
| 796 | + |
| 797 | + |
| 798 | + |
| 799 | + |
| 800 | + |
| 801 | + |
| 802 | + |
| 803 | + |
| 804 | + |
| 805 | + |
792 | 806 | |
793 | 807 | |
794 | 808 | |
|
0 commit comments