diff --git a/React/Executors/RCTJSCExecutor.h b/React/Executors/RCTJSCExecutor.h index ef87c8b12..8a5567a27 100644 --- a/React/Executors/RCTJSCExecutor.h +++ b/React/Executors/RCTJSCExecutor.h @@ -53,6 +53,11 @@ RCT_EXTERN NSString *const RCTFBJSValueClassKey; - (instancetype)initWithUseCustomJSCLibrary:(BOOL)useCustomJSCLibrary; +/** + * Marks whether the provider uses the custom implementation of JSC and not the system one. + */ +@property (nonatomic, readonly, assign) BOOL useCustomJSCLibrary; + @end /** diff --git a/React/Executors/RCTJSCExecutor.mm b/React/Executors/RCTJSCExecutor.mm index 61fdfb495..91fd6a47a 100644 --- a/React/Executors/RCTJSCExecutor.mm +++ b/React/Executors/RCTJSCExecutor.mm @@ -944,7 +944,6 @@ RCT_EXPORT_METHOD(setContextName:(nonnull NSString *)name) @implementation RCTJSContextProvider { dispatch_semaphore_t _semaphore; - BOOL _useCustomJSCLibrary; NSThread *_javaScriptThread; JSContext *_context; RCTJSCWrapper *_jscWrapper;