mirror of
https://github.com/status-im/react-native.git
synced 2025-01-13 19:15:05 +00:00
Remove duplicate call delegate->moduleNames()
Summary: Closes https://github.com/facebook/react-native/pull/9962 Differential Revision: D3923050 fbshipit-source-id: 59e05e673835beb7409512195170c9a1e20a9ea1
This commit is contained in:
parent
9584480261
commit
7fd9e77837
@ -109,7 +109,6 @@ JSCExecutor::JSCExecutor(std::shared_ptr<ExecutorDelegate> delegate,
|
||||
|
||||
{
|
||||
SystraceSection s("collectNativeModuleNames");
|
||||
std::vector<std::string> names = delegate->moduleNames();
|
||||
for (auto& name : delegate->moduleNames()) {
|
||||
nativeModuleConfig.push_back(folly::dynamic::array(std::move(name)));
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user