mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-01 09:23:16 +08:00
Don't clear queue in ProxyExecutor
Reviewed By: mhorowitz Differential Revision: D3757216 fbshipit-source-id: 5adda2dcdfb438b65fe668c52e0d2e35705eed9f
This commit is contained in:
committed by
Facebook Github Bot 5
parent
a9a51b2d21
commit
b4999fca0d
@@ -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>) {
|
||||
|
||||
Reference in New Issue
Block a user