-
Notifications
You must be signed in to change notification settings - Fork 29.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
http: refactor ClientRequest destroy #36863
Conversation
@nodejs/http |
return; | ||
} | ||
|
||
_destroy(req, err || req[kError]); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A bunch of these can be slightly niftier code-style wise (??
s etc) but that's pretty dumb to block on.
We have the same failing test (https://ci.nodejs.org/job/node-test-commit-linux-containered/nodes=ubuntu1804_sharedlibs_withoutintl_x64/24696/) mentioned in #36868. Let's wait a bit to see if there is news about it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
Landed in e39a3f8 |
PR-URL: #36863 Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
PR-URL: #36863 Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Iterative work towards cleaning up ClientRequest.