From 3a69ef55e06cda552e7ad295ddf904e1c70ae13f Mon Sep 17 00:00:00 2001 From: Andreas Madsen Date: Tue, 26 Sep 2017 15:50:10 +0200 Subject: async_hooks: consistent internal naming PR-URL: https://github.com/nodejs/node/pull/15569 Reviewed-By: Refael Ackermann Reviewed-By: Anna Henningsen Reviewed-By: Ruben Bridgewater Reviewed-By: James M Snell --- src/stream_base-inl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/stream_base-inl.h') diff --git a/src/stream_base-inl.h b/src/stream_base-inl.h index 8b5b154207..25293d2d06 100644 --- a/src/stream_base-inl.h +++ b/src/stream_base-inl.h @@ -136,7 +136,7 @@ void StreamBase::JSMethod(const FunctionCallbackInfo& args) { if (!wrap->IsAlive()) return args.GetReturnValue().Set(UV_EINVAL); - AsyncHooks::InitScope init_scope(handle->env(), handle->get_id()); + AsyncHooks::InitScope init_scope(handle->env(), handle->get_async_id()); args.GetReturnValue().Set((wrap->*Method)(args)); } -- cgit v1.2.3