Skip to content

Commit 7114224

Browse files
Stephen Belangerfoxxyz
Stephen Belanger
authored andcommitted
async_hooks: emit promise trace events from JS
PR-URL: nodejs#39135 Backport-PR-URL: nodejs#39742 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de>
1 parent 5a1841c commit 7114224

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/internal/trace_events_async_hooks.js

+1
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ const kEnabled = Symbol('enabled');
3131
// twice the async_wrap.Providers list is used to filter the events.
3232
const nativeProviders = new SafeSet(ObjectKeys(async_wrap.Providers));
3333
const typeMemory = new SafeMap();
34+
nativeProviders.delete('PROMISE');
3435

3536
function createHook() {
3637
// In traceEvents it is not only the id but also the name that needs to be

0 commit comments

Comments
 (0)