Commit 5a4a1cba authored by Daniel Bevenius's avatar Daniel Bevenius
Browse files

async_hooks: add copyHooks function

This commit introduces a copyHooks function that can be used by
storeActiveHooks and restoreActiveHooks to remove some code duplication.

PR-URL: https://github.com/nodejs/node/pull/19391


Reviewed-By: default avatarAnna Henningsen <anna@addaleax.net>
Reviewed-By: default avatarAnatoli Papirovski <apapirovski@mac.com>
parent 489b916c
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