mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-05-16 18:50:07 +08: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:
committed by
Facebook Github Bot 7
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)));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user