Skip to content

Commit d5dda1b

Browse files
Ashok Menonfacebook-github-bot
authored andcommitted
Adding in missing wrapper invocation.
Reviewed By: javache Differential Revision: D4714260 fbshipit-source-id: 641dfd07e8161bedf31cfd4cf94b1dc64beec0f9
1 parent c53404a commit d5dda1b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

React/CxxModule/RCTCxxUtils.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ template <>
3333
struct ValueEncoder<NSArray *> {
3434
static Value toValue(JSGlobalContextRef ctx, NSArray *const __strong array)
3535
{
36-
JSValue *value = [JSValue valueWithObject:array inContext:contextForGlobalContextRef(ctx)];
36+
JSValue *value = [JSC_JSValue(ctx) valueWithObject:array inContext:contextForGlobalContextRef(ctx)];
3737
return {ctx, [value JSValueRef]};
3838
}
3939
};

0 commit comments

Comments
 (0)