async_hooks: fix resource stack for deep stacks · nodejs/node@cfc769b · GitHub
Skip to content

Commit cfc769b

Browse files
committed
async_hooks: fix resource stack for deep stacks
460c81d introduced a bug where the execution resource was not stored properly if we needed to call into C++ to extend the stack size. Fix that bug by always storing the resource. Refs: #34319 Fixes: #34556 PR-URL: #34573 Reviewed-By: Andrey Pechkurov <apechkurov@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de> Reviewed-By: Gus Caplan <me@gus.host>
1 parent a2141d3 commit cfc769b

2 files changed

Lines changed: 16 additions & 1 deletion

File tree

lib/internal/async_hooks.js

Lines changed: 1 addition & 1 deletion
Lines changed: 15 additions & 0 deletions

0 commit comments

Comments
 (0)