Commit 560f657
stream: delete redundant code
In `Writable.prototype.end()`, `state.ending` is true after calling
`endWritable()` and it doesn't reset to false.
In `Writable.prototype.uncork()`, `state.finished` must be false
if `state.bufferedRequest` is true.
PR-URL: #18145
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>1 parent 58003d4 commit 560f657Copy full SHA for 560f657
File tree
Expand file treeCollapse file tree
1 file changed
+1
-2
lines changedOpen diff view settings
Filter options
- lib
Expand file treeCollapse file tree
1 file changed
+1
-2
lines changedOpen diff view settings
Collapse file
+1-2Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
307 | 307 | |
308 | 308 | |
309 | 309 | |
310 | | - |
311 | 310 | |
312 | 311 | |
313 | 312 | |
| ||
579 | 578 | |
580 | 579 | |
581 | 580 | |
582 | | - |
| 581 | + |
583 | 582 | |
584 | 583 | |
585 | 584 | |
|
0 commit comments