Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

async_hooks: use CHECK instead of throwing error #17832

Closed
wants to merge 1 commit into from

Commits on Dec 23, 2017

  1. async_hooks: use CHECK instead of throwing error

    SetupHooks is only available via `process.binding('async_wrap')`, so
    there's no reason it shouldn't be called with the appropriate arguments,
    since it is an internal-only function. The only place this function is
    used is `lib/internal/async_hooks.js`.
    maclover7 committed Dec 23, 2017
    Configuration menu
    Copy the full SHA
    921ee28 View commit details
    Browse the repository at this point in the history