Fix for running RealmReactTests in release mode

The RTCDevMenu is missing the `moduleName` class method in release mode.
This commit is contained in:
Scott Kyle 2015-10-26 14:57:50 -07:00
parent 32ebd7f218
commit 9cfcc2ea9e

View File

@ -66,8 +66,10 @@ extern void JSGlobalContextSetIncludesNativeCallStackWhenReportingExceptions(JSG
exit(1);
}
#ifdef DEBUG
// We don't want the RCTDevMenu from switching the executor class from underneath us.
[s_bridge.devMenu invalidate];
#endif
[self waitForNotification:RCTJavaScriptDidLoadNotification];
}