Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Multi window race condition fixes (#1926)
1. Sometimes JS tried to create views before the parent root view has been added to shadow tree. This is due to UIManagerModule.AddMeasuredRootView being a "fire and forget" method. We made this an awaitable asynchronous function, so now AppRegistry.runApplication is only called after the measured root view addition completed. 2. Back to back "create/remove" root view operations had some corner cases (trying to remove a root view when its tag hasn't been set yet, or trying to remove a root view that is still waiting for measuring to occur) Fixed those. 3. Added a stress UT.
- Loading branch information
Showing
8 changed files
with
272 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.