lib: do not modify prototype deprecated asyncResource (encore) · nodejs/node@fe7176d · GitHub
Skip to content

Commit fe7176d

Browse files
slagiewkatargos
authored andcommitted
lib: do not modify prototype deprecated asyncResource (encore)
Previous attempt has missed one argument (`useEmitSync`), therefore it effectively did not work as intended. This change sets `useEmitSync` to `false` which is equivalent to previous behaviour of `undefined` and sets `modifyPrototype` to `false` as expected. PR-URL: #59518 Refs: #58218 Refs: #59195 Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com>
1 parent 4e02ea1 commit fe7176d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lib/async_hooks.js

Lines changed: 2 additions & 2 deletions

0 commit comments

Comments
 (0)