Commit b992962
stream: ensuring cross-destruction in _duplexify to prevent leaks
PR-URL: #62824
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Kohei Ueno <kohei.ueno119@gmail.com>1 parent 48bb51b commit b992962Copy full SHA for b992962
2 files changed
+18-1Lines changed: 18 additions & 1 deletion
File tree
Expand file treeCollapse file tree
Open diff view settings
Filter options
- lib/internal/streams
- test/parallel
Expand file treeCollapse file tree
Open diff view settings
Collapse file
lib/internal/streams/duplexify.js
Copy file name to clipboardExpand all lines: lib/internal/streams/duplexify.js+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
334 | 334 | |
335 | 335 | |
336 | 336 | |
337 | | - |
| 337 | + |
338 | 338 | |
339 | 339 | |
340 | 340 | |
|
Collapse file
test/parallel/test-stream-duplex-from.js
Copy file name to clipboardExpand all lines: test/parallel/test-stream-duplex-from.js+17Lines changed: 17 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
401 | 401 | |
402 | 402 | |
403 | 403 | |
| 404 | + |
| 405 | + |
| 406 | + |
| 407 | + |
| 408 | + |
| 409 | + |
| 410 | + |
| 411 | + |
| 412 | + |
| 413 | + |
| 414 | + |
| 415 | + |
| 416 | + |
| 417 | + |
| 418 | + |
| 419 | + |
| 420 | + |
0 commit comments