Commit f54659c
net: simplify net.Socket#end()
`writable` is already set by the streams side, and
there is a handler waiting for the writable side to finish
which already takes care of the other cleanup code that
was previously there; both of these things can therefore be removed.
PR-URL: #18708
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>1 parent 47dfe29 commit f54659cCopy full SHA for f54659c
File tree
Expand file treeCollapse file tree
1 file changed
+2
-10
lines changedOpen diff view settings
Filter options
- lib
Expand file treeCollapse file tree
1 file changed
+2
-10
lines changedOpen diff view settings
Collapse file
+2-10Lines changed: 2 additions & 10 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
496 | 496 | |
497 | 497 | |
498 | 498 | |
499 | | - |
500 | | - |
501 | | - |
| 499 | + |
| 500 | + |
502 | 501 | |
503 | 502 | |
504 | | - |
505 | | - |
506 | | - |
507 | | - |
508 | | - |
509 | | - |
510 | | - |
511 | 503 | |
512 | 504 | |
513 | 505 | |
|
0 commit comments