mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
fix: return nullptr when USE_THIRD_PARTY_JSC is set to true (#49781)
Summary: When setting `USE_THIRD_PARTY_JSC=1`, we don't return anything from createJSRuntimeFactory function:  It's meant to be overwritten, but we must satisfy the compiler. ## Changelog: [IOS] [FIXED] - return nullptr when USE_THIRD_PARTY_JSC is set to true Pull Request resolved: https://github.com/facebook/react-native/pull/49781 Test Plan: CI Green Reviewed By: cortinico Differential Revision: D70486837 Pulled By: cipolleschi fbshipit-source-id: c09622f75608dc203d41167fc375a000a2f12e37
This commit is contained in:
committed by
Facebook GitHub Bot
parent
6bc5ddea3e
commit
515ff1e626
@@ -49,6 +49,8 @@
|
||||
return jsrt_create_hermes_factory();
|
||||
#elif USE_THIRD_PARTY_JSC != 1
|
||||
return jsrt_create_jsc_factory();
|
||||
#else
|
||||
return nullptr;
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user