mirror of
https://github.com/status-im/react-native.git
synced 2025-02-28 00:50:43 +00:00
Don't clear queue in ProxyExecutor
Reviewed By: mhorowitz Differential Revision: D3757216 fbshipit-source-id: 5adda2dcdfb438b65fe668c52e0d2e35705eed9f
This commit is contained in:
parent
a9a51b2d21
commit
b4999fca0d
@ -78,7 +78,8 @@ void ProxyExecutor::loadApplicationScript(
|
|||||||
loadApplicationScript(
|
loadApplicationScript(
|
||||||
m_executor.get(),
|
m_executor.get(),
|
||||||
jni::make_jstring(sourceURL).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>) {
|
void ProxyExecutor::setJSModulesUnbundle(std::unique_ptr<JSModulesUnbundle>) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user