-
Notifications
You must be signed in to change notification settings - Fork 24.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Synchronize access to ViewManagerRegistry
Summary: Found that we may do multiple allocations of the same ViewManager instance since ViewManagers are both accessed from the UI thread (mounting views) and from the Fabric background thread (for measuring Text), which could lead to multiple instances of the same ViewManager to be created. As far as I can tell, this issue was harmless since our ViewManager constructors don't have side-effects, but not ideal. Changelog: [Internall] Reviewed By: rshest Differential Revision: D43661306 fbshipit-source-id: 37ef82d41d43c334fdc6cfbeffb225bba87c668e
- Loading branch information
Showing
1 changed file
with
15 additions
and
6 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