Skip to content

Commit

Permalink
Don't clear queue in ProxyExecutor
Browse files Browse the repository at this point in the history
Reviewed By: mhorowitz

Differential Revision: D3757216

fbshipit-source-id: 5adda2dcdfb438b65fe668c52e0d2e35705eed9f
  • Loading branch information
lexs authored and Facebook Github Bot 5 committed Aug 24, 2016
1 parent a9a51b2 commit b4999fc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ReactAndroid/src/main/jni/xreact/jni/ProxyExecutor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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>) {
Expand Down

0 comments on commit b4999fc

Please sign in to comment.