Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/nodejs/node
/ test-async-hooks-prevent-double-destroy.js
File
test-async-hooks-prevent-double-destroy.js
test/parallel/test-async-hooks-prevent-double-destroy.js:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
'use strict'
;
2
// Flags: --expose_gc
3
4
// This test ensures that userland-only AsyncResources cause a destroy event to
Callers
nothing calls this directly
Calls
6
createHook
Method · 0.80
require
Function · 0.50
setImmediate
Function · 0.50
enable
Method · 0.45
emitDestroy
Method · 0.45
disable
Method · 0.45
Tested by
no test coverage detected