-
Notifications
You must be signed in to change notification settings - Fork 29.7k
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
inspector: stop relying on magic strings #10159
Conversation
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 with style nits.
void ResumeStartup() { | ||
uv_sem_post(&start_sem_); | ||
} | ||
|
||
private: | ||
template<typename Action> |
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.
Space before '<' here and elsewhere.
Landed as d8c7534 |
@eugeneo Doesn't land cleanly on v7.x fwiw |
@Fishrock123 I did a manual rebase - https://github.com/eugeneo/node/commit/a2d33e94c3df6888d6533dcd3ee6e6d15d87c81f |
Inspector uses magical strings to communicate some events between main thread and transport thread. This change replaces those strings with enums that are more mainatainable (and remove unnecessary encodings/decodings) PR-URL: nodejs#10159 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Inspector uses magical strings to communicate some events between main thread and transport thread. This change replaces those strings with enums that are more mainatainable (and remove unnecessary encodings/decodings) PR-URL: #10159 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Inspector uses magical strings to communicate some events between main thread and transport thread. This change replaces those strings with enums that are more mainatainable (and remove unnecessary encodings/decodings) PR-URL: nodejs#10159 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Inspector uses magical strings to communicate some events between main thread and transport thread. This change replaces those strings with enums that are more mainatainable (and remove unnecessary encodings/decodings) PR-URL: nodejs#10159 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
A backport PR would be required in order for this to land in v6 |
I don't think this needs to be backported... |
Awesome. Thank you |
Checklist
make -j8 test
(UNIX), orvcbuild test nosign
(Windows) passesAffected core subsystem(s)
inspector: internal datastructures were slightly altered
Description of change
Inspector uses magical strings to communicate some events between
main thread and transport thread. This change replaces those strings
with enums that are more mainatainable (and remove unnecessary
encodings/decodings)