Don't clear queue in ProxyExecutor

Reviewed By: mhorowitz

Differential Revision: D3757216

fbshipit-source-id: 5adda2dcdfb438b65fe668c52e0d2e35705eed9f
This commit is contained in:
Alexander Blom
2016-09-05 23:40:06 -07:00
committed by James Ide
parent fadd5dc98b
commit 5501869e3a
@@ -78,7 +78,8 @@ void ProxyExecutor::loadApplicationScript(
loadApplicationScript(
m_executor.get(),
jni::make_jstring(sourceURL).get());
executeJSCallWithProxy(m_executor.get(), "flushedQueue", std::vector<folly::dynamic>());
// We can get pending calls here to native but the queue will be drained when
// we launch the application.
}
void ProxyExecutor::setJSModulesUnbundle(std::unique_ptr<JSModulesUnbundle>) {