Skip to content

Commit 244abc3

Browse files
author
Sampson Gao
committed
Fix the build error on linux (#62)
1 parent 3aab97b commit 244abc3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

napi-inl.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2433,6 +2433,7 @@ inline napi_value ObjectWrap<T>::ConstructorCallbackWrapper(
24332433
CallbackInfo callbackInfo(env, info);
24342434
instance = new T(callbackInfo);
24352435
wrapper = callbackInfo.This();
2436+
return nullptr;
24362437
});
24372438

24382439
napi_ref ref;

0 commit comments

Comments
 (0)