Commit 3388e319 authored by Ruben Bridgewater's avatar Ruben Bridgewater Committed by Jeremiah Senkpiel
Browse files

async_hooks: move restoreTmpHooks call to init

This fixes an error that could occure by nesting async_hooks calls

PR-URL: https://github.com/nodejs/node/pull/14054
Ref: https://github.com/nodejs/node/pull/13755#issuecomment-312616004


Reviewed-By: default avatarRefael Ackermann <refack@gmail.com>
Reviewed-By: default avatarTrevor Norris <trev.norris@gmail.com>
Reviewed-By: default avatarJames M Snell <jasnell@gmail.com>
Reviewed-By: default avatarAndreas Madsen <amwebdk@gmail.com>
parent 43c614ed
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment