Skip to content

src: move OnMessage to node_errors.cc - #27304

Closed
joyeecheung wants to merge 1 commit into
nodejs:masterfrom
joyeecheung:move-message
Closed

src: move OnMessage to node_errors.cc#27304
joyeecheung wants to merge 1 commit into
nodejs:masterfrom
joyeecheung:move-message

Conversation

@joyeecheung

Copy link
Copy Markdown
Member

Rename the per-isolate message listener to PerIsolateMessageListener
and move it to node_errors.cc since it's part of the error
handling process. It also creates an external reference so it needs
to be exposed in node_errors.h for a snapshot builder to know.

Refs: #17058 (comment)

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • commit message follows commit guidelines

Rename the per-isolate message listener to `PerIsolateMessageListener`
and move it to `node_errors.cc` since it's part of the error
handling process. It also creates an external reference so it needs
to be exposed in `node_errors.h` for a snapshot builder to know.
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

@nodejs-github-botnodejs-github-bot added the c++ Issues and PRs that require attention from people who are familiar with C++. label Apr 19, 2019
@joyeecheungjoyeecheung added the review wanted PRs that need reviews. label Apr 19, 2019
@BridgeARBridgeAR added the author ready PRs that have at least one approval, no pending requests for changes, and a CI started. label Apr 21, 2019
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

@joyeecheung

Copy link
Copy Markdown
MemberAuthor

Landed in 744cdec

joyeecheung added a commit that referenced this pull request Apr 26, 2019
Rename the per-isolate message listener to `PerIsolateMessageListener`
and move it to `node_errors.cc` since it's part of the error
handling process. It also creates an external reference so it needs
to be exposed in `node_errors.h` for a snapshot builder to know.
PR-URL: #27304
Reviewed-By: Anna Henningsen <anna@addaleax.net>
targos pushed a commit that referenced this pull request Apr 27, 2019
Rename the per-isolate message listener to `PerIsolateMessageListener`
and move it to `node_errors.cc` since it's part of the error
handling process. It also creates an external reference so it needs
to be exposed in `node_errors.h` for a snapshot builder to know.
PR-URL: #27304
Reviewed-By: Anna Henningsen <anna@addaleax.net>
@targostargos mentioned this pull request Apr 27, 2019
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author readyPRs that have at least one approval, no pending requests for changes, and a CI started.c++Issues and PRs that require attention from people who are familiar with C++.review wantedPRs that need reviews.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@joyeecheung@nodejs-github-bot@addaleax@BridgeAR