Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix bug where UIOperations aren't executed after hosting Activity is …
…paused. Summary: When we hit the back button and unmount the ReactRootView, we tell JS to unmount the application root node, which causes JS to asynchronously come back and tell the UIManager to drop the corresponding root view. This issue was that by the time JS gets back to us, we likely will have already paused the UIManager frame callback which means the view unmounting never actually happens: it just gets stuck in the queue. The solution is to immediately execute batches when they are enqueued when the frame callback isn't running. Reviewed By: lexs Differential Revision: D3398958 fbshipit-source-id: 0de81061a97a119be4cb0b12d6f01c1cec8e8171
- Loading branch information