FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

async_hooks: ensure event after been emitted on runInAsyncScope by legendecas · Pull Request #31784 · nodejs/node · GitHub

/ node Public

async_hooks: ensure event after been emitted on runInAsyncScope - #31784

Closed
legendecas wants to merge 1 commit into
nodejs:masterfrom
legendecas:async-run-throws
Closed

async_hooks: ensure event after been emitted on runInAsyncScope#31784
legendecas wants to merge 1 commit into
nodejs:masterfrom
legendecas:async-run-throws

Conversation

legendecas commented Feb 14, 2020
edited
Loading

Copy link
Copy Markdown
Member

Also removes a duplicated case test-emit-after-uncaught-exception-runInAsyncScope.js
which is identical to test-emit-after-uncaught-exception.js.

The exception handler user-defined will not automatically emit after for the async resource.

Fixes: #31783
Related: #30965

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • commit message follows commit guidelines

nodejs-github-bot added the async_hooks Issues and PRs related to the async hooks subsystem. label Feb 14, 2020
legendecas force-pushed the async-run-throws branch 2 times, most recently from 12b3ae1 to 01b13b2 Compare February 14, 2020 06:05
The exception handler user-defined will not automatically emit after
for the async resource.

Also removes a duplicated case
`test-emit-after-uncaught-exception-runInAsyncScope.js`
which is identical to test-emit-after-uncaught-exception.js.

Copy link
Copy Markdown
Collaborator

addaleax mentioned this pull request Feb 14, 2020

addaleax left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Can we please fast-track this in order to get a proper commit from master into #31781 (v12.16.1)?

addaleax added fast-track PRs that do not need to wait for 48 hours to land. author ready PRs that have at least one approval, no outstanding review comments, and a CI started. labels Feb 14, 2020
addaleax mentioned this pull request Feb 14, 2020

Copy link
Copy Markdown
Member

Landed in 75311db

addaleax closed this Feb 14, 2020
addaleax pushed a commit that referenced this pull request Feb 14, 2020
The exception handler user-defined will not automatically emit after
for the async resource.

Also removes a duplicated case
`test-emit-after-uncaught-exception-runInAsyncScope.js`
which is identical to test-emit-after-uncaught-exception.js.

Refs: #30965
PR-URL: #31784
Fixes: #31783
Reviewed-By: Vladimir de Turckheim <vlad2t@hotmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
legendecas deleted the async-run-throws branch February 14, 2020 15:56
addaleax pushed a commit that referenced this pull request Feb 14, 2020
The exception handler user-defined will not automatically emit after
for the async resource.

Also removes a duplicated case
`test-emit-after-uncaught-exception-runInAsyncScope.js`
which is identical to test-emit-after-uncaught-exception.js.

Refs: #30965
PR-URL: #31784
Fixes: #31783
Reviewed-By: Vladimir de Turckheim <vlad2t@hotmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
codebytere pushed a commit that referenced this pull request Feb 17, 2020
The exception handler user-defined will not automatically emit after
for the async resource.

Also removes a duplicated case
`test-emit-after-uncaught-exception-runInAsyncScope.js`
which is identical to test-emit-after-uncaught-exception.js.

Refs: #30965
PR-URL: #31784
Fixes: #31783
Reviewed-By: Vladimir de Turckheim <vlad2t@hotmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
codebytere mentioned this pull request Feb 17, 2020
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

async_hooks Issues and PRs related to the async hooks subsystem. author ready PRs that have at least one approval, no outstanding review comments, and a CI started. fast-track PRs that do not need to wait for 48 hours to land.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

async_hooks: AsyncResource.runInAsyncScope causes Node process to crash

5 participants


Back | FazBrowse Home | New Git URL