Skip to content

Commit

Permalink
fix for running in web debugging mode (#2500)
Browse files Browse the repository at this point in the history
  • Loading branch information
ahimberg authored May 18, 2019
1 parent d6c988f commit d85a645
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vnext/Shared/OInstance.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -422,7 +422,7 @@ InstanceImpl::InstanceImpl(std::string&& jsBundleBasePath,
m_moduleRegistry);

// All JSI runtimes do support host objects and hence the native modules proxy.
const bool isNativeModulesProxyAvailable = m_devSettings->jsiRuntimeHolder != nullptr;
const bool isNativeModulesProxyAvailable = m_devSettings->jsiRuntimeHolder != nullptr && !m_devSettings->useWebDebugger;
if (!isNativeModulesProxyAvailable)
{
folly::dynamic configArray = folly::dynamic::array;
Expand Down

0 comments on commit d85a645

Please sign in to comment.