mirror of
https://github.com/status-im/react-native.git
synced 2025-02-10 16:36:25 +00:00
Gatekeeper for Native Extensions
Reviewed By: danzimm, johnislarry Differential Revision: D6965463 fbshipit-source-id: 28bcfbff980abfda3c63d7016ccf05beb1d178eb
This commit is contained in:
parent
c989ea8728
commit
8e85bf84e8
@ -134,9 +134,11 @@ namespace facebook {
|
||||
installGlobalProxy(m_context, "nativeModuleProxy",
|
||||
exceptionWrapMethod<&JSCExecutor::getNativeModule>());
|
||||
}
|
||||
if (nativeExtensionsProvider) {
|
||||
installGlobalProxy(m_context, "nativeExtensions",
|
||||
exceptionWrapMethod<&JSCExecutor::getNativeExtension>());
|
||||
}
|
||||
}
|
||||
|
||||
JSCExecutor::~JSCExecutor() {
|
||||
CHECK(*m_isDestroyed) << "JSCExecutor::destroy() must be called before its destructor!";
|
||||
|
Loading…
x
Reference in New Issue
Block a user