Skip to content

Commit 4149e48

Browse files
committed
Duplicating patch to fix NPM support.
See: - npm/npm#16636 - nodejs/node#13092
1 parent 5f17ac4 commit 4149e48

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/tls_wrap.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -940,6 +940,7 @@ void TLSWrap::Initialize(Local<Object> target,
940940
t->SetClassName(FIXED_ONE_BYTE_STRING(env->isolate(), "TLSWrap"));
941941

942942
env->SetProtoMethod(t, "getAsyncId", AsyncWrap::GetAsyncId);
943+
env->SetProtoMethod(t, "asyncReset", AsyncWrap::AsyncReset);
943944
env->SetProtoMethod(t, "receive", Receive);
944945
env->SetProtoMethod(t, "start", Start);
945946
env->SetProtoMethod(t, "setVerifyMode", SetVerifyMode);

0 commit comments

Comments
 (0)