-
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
src: elevate v8 namespaces referenced #24657
Conversation
src/async_wrap.cc
Outdated
@@ -374,7 +381,7 @@ static void RegisterDestroyHook(const FunctionCallbackInfo<Value>& args) { | |||
p->target.Reset(isolate, args[0].As<Object>()); | |||
p->propBag.Reset(isolate, args[2].As<Object>()); | |||
p->target.SetWeak( | |||
p, AsyncWrap::WeakCallback, v8::WeakCallbackType::kParameter); | |||
p, AsyncWrap::WeakCallback, WeakCallbackType::kParameter); |
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.
I think you can now unwrap this into a single line.
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.
Do you know what is the max width of line? Linter could break this, no?
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.
The max length is 80
and if you exceed that the linter will pick it up. You can run make lint-cpp
to check any changes.
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.
Rebased and wrapped!
@rvagg 🤦♂️ My bad, at this hour I still thinking why I rebase, what a mess... |
7d404f1
to
4996605
Compare
@juanarbol I checked out your branch and ran |
@Trott I think it's ok! Thank you!!! |
Resume Build CI: https://ci.nodejs.org/job/node-test-pull-request/19077/ |
Optimistic Resume Build CI: https://ci.nodejs.org/job/node-test-pull-request/19091/ |
Resume Build CI: https://ci.nodejs.org/job/node-test-pull-request/19105/ |
Landed in d4273c4 |
PR-URL: nodejs#24657 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Minwoo Jung <minwoo@nodesource.com> Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
PR-URL: #24657 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Minwoo Jung <minwoo@nodesource.com> Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
PR-URL: nodejs#24657 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Minwoo Jung <minwoo@nodesource.com> Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
PR-URL: #24657 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Minwoo Jung <minwoo@nodesource.com> Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
PR-URL: #24657 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Minwoo Jung <minwoo@nodesource.com> Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
I saw non elevated v8 namespaces, and
v8::HandleScope
already elevated but invocated asv8::HandleScope
not justHandleScope
Checklist
make -j4 test
(UNIX), orvcbuild test
(Windows) passes