Using folly object in configureForAndroid()'
Reviewed By: mhahnenberg, dcaspi Differential Revision: D3006980 fb-gh-sync-id: ad97fa2b7c122f48dc4d72068df84cfa63f8dbd9 fbshipit-source-id: ad97fa2b7c122f48dc4d72068df84cfa63f8dbd9
This commit is contained in:
parent
b7e6444ba2
commit
7b3a371ef1
|
@ -156,8 +156,7 @@ void JSCExecutor::destroy() {
|
|||
|
||||
void JSCExecutor::initOnJSVMThread() {
|
||||
#if defined(WITH_FB_JSC_TUNING) && !defined(WITH_JSC_INTERNAL)
|
||||
// TODO: Find a way to pass m_jscConfig to configureJSCForAndroid()
|
||||
configureJSCForAndroid(m_jscConfig.getDefault("GCTimers", false).asBool());
|
||||
configureJSCForAndroid(m_jscConfig);
|
||||
#endif
|
||||
m_context = JSGlobalContextCreateInGroup(nullptr, nullptr);
|
||||
s_globalContextRefToJSCExecutor[m_context] = this;
|
||||
|
|
Loading…
Reference in New Issue