summaryrefslogtreecommitdiff
path: root/tools/node_modules/eslint/node_modules/ajv/lib/dot/definitions.def
diff options
context:
space:
mode:
authorAnna Henningsen <anna@addaleax.net>2019-07-20 23:12:41 +0200
committerMichaƫl Zasso <targos@protonmail.com>2019-07-23 08:15:42 +0200
commit302865e8b9756812b45d9ff60403c2a231c01152 (patch)
tree05102fcdd46137778bbb98b36e31823d72c0cbaf /tools/node_modules/eslint/node_modules/ajv/lib/dot/definitions.def
parentc0f24be185a995ae05e55c44fde0ff83e81e63d9 (diff)
downloadandroid-node-v8-302865e8b9756812b45d9ff60403c2a231c01152.tar.gz
android-node-v8-302865e8b9756812b45d9ff60403c2a231c01152.tar.bz2
android-node-v8-302865e8b9756812b45d9ff60403c2a231c01152.zip
src: do not include partial AsyncWrap instances in heap dump
Heap dumps can be taken either through the inspector or the public API for it during an async_hooks init() hook, but at that point the AsyncWrap in question is not done initializing yet and virtual methods cannot be called on it. Address this issue (somewhat hackily) by excluding `AsyncWrap` instances which have not yet executed their `init()` hook fully from heap dumps. Fixes: https://github.com/nodejs/node/issues/28786 PR-URL: https://github.com/nodejs/node/pull/28789 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Rich Trott <rtrott@gmail.com>
Diffstat (limited to 'tools/node_modules/eslint/node_modules/ajv/lib/dot/definitions.def')
0 files changed, 0 insertions, 0 deletions