diff --git a/React/Executors/RCTJSCWrapper.mm b/React/Executors/RCTJSCWrapper.mm index d5118db7e7..adca825b22 100644 --- a/React/Executors/RCTJSCWrapper.mm +++ b/React/Executors/RCTJSCWrapper.mm @@ -34,10 +34,6 @@ UNIMPLEMENTED_SYSTEM_JSC_FUNCTION(JSStartSamplingProfilingOnMainJSCThread) static void noOpSystemJSCFunc(void *args...){ } static bool alwaysFalseSystemJSCFunc(void *args...){ return false; } -void __attribute__((visibility("hidden"),weak)) RCTCustomJSCInit(__unused void *handle) { - return; -} - static void *RCTCustomLibraryHandler(void) { static dispatch_once_t token; @@ -136,11 +132,6 @@ static RCTJSCWrapper *RCTSetUpCustomLibraryPointers() .JSValue = (__bridge Class)dlsym(libraryHandle, "OBJC_CLASS_$_JSValue"), }; - static dispatch_once_t once; - dispatch_once(&once, ^{ - RCTCustomJSCInit(libraryHandle); - }); - return wrapper; }