{{ message }}
Commit 56be32d
async_hooks: only emit
We clear the async id stack inside the uncaught exception handler and
emit `after` events in the process, so we should not emit `after`
a second time from the `runInAsyncScope()` code.
This should match the behaviour we have in C++.
Fixes: #30080
PR-URL: #30087
Reviewed-By: Gus Caplan <me@gus.host>
Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>after for AsyncResource if stack not empty1 parent ee3c3ad commit 56be32d
2 files changed
Lines changed: 39 additions & 1 deletion
Lines changed: 36 additions & 0 deletions

0 commit comments