Skip to content

async-wrap: always call before and after hooks

This patch allows the before and after hook to be called even if the kCallInitHook flag is 0.

  • test/parallel/test-async-wrap-no-init-hook.js did not pass before.
  • test/parallel/test-async-wrap-init-hook.js did pass before. I just added it for the sake of completeness.

issue tracking: https://github.com/AndreasMadsen/trace/issues/12

Merge request reports

Loading