| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
There was a problem hiding this comment.
Nit: I'd remove handling 'finish' as we are no longer handling the 'finish' event.
Sorry, something went wrong.
There was a problem hiding this comment.
@lpinca done! And thanks for the reviews, it’s really helpful to talk this through with you!
Sorry, something went wrong.
|
@addaleax please always trigger a CI after opening a PR :-) |
Sorry, something went wrong.
I usually wait until the first review or so, since the PR likely needs to be updated after it anyway. |
Sorry, something went wrong.
|
New CI: https://ci.nodejs.org/job/node-test-commit/16161/ |
Sorry, something went wrong.
There was a problem hiding this comment.
Good work!
Sorry, something went wrong.
There was a problem hiding this comment.
can you add a unit test for those? Maybe also place them in a separate commit, if we want to backport them separately.
Sorry, something went wrong.
There was a problem hiding this comment.
@mcollina Do you know where those tests are? In any case, these lines are tested in the sense that tests do fail without them...
Sorry, something went wrong.
There was a problem hiding this comment.
We need test that can be run as part of readable-stream.
Here are the current tests:
test/parallel/test-stream-duplex-destroy.js test/parallel/test-stream-readable-destroy.js test/parallel/test-stream-transform-destroy.js test/parallel/test-stream-writable-destroy.js
Sorry, something went wrong.
Shutting down the connection is what `_final` is there for.
|
@mcollina Thanks for the pointer, done! |
Sorry, something went wrong.
There was a problem hiding this comment.
LGTM
Sorry, something went wrong.
|
@addaleax it seems this landed without metadata. |
Sorry, something went wrong.
|
@lpinca I’ve force-pushed that mistake away, thanks for pointing it out. |
Sorry, something went wrong.
Shutting down the connection is what `_final` is there for. PR-URL: #18608 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Shutting down the connection is what `_final` is there for. PR-URL: nodejs#18608 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Shutting down the connection is what `_final` is there for. PR-URL: nodejs#18608 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Shutting down the connection is what `_final` is there for. PR-URL: nodejs#18608 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Shutting down the connection is what `_final` is there for. PR-URL: #18608 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Shutting down the connection is what `_final` is there for. PR-URL: #18608 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
| Back | FazBrowse Home | New Git URL |
Shutting down the connection is what _final is there for.
Checklist
Affected core subsystem(s)
net