Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid null reference exception when fetching ReactRootView in bridgel…
…ess (#47284) Summary: Pull Request resolved: #47284 If the surface hasn't been set up yet, attempting to fetch the ReactRootView will throw a null reference exception. Since the result is already nullable, it's perhaps better to just return null when the surface has not yet been initialized. ## Changelog [Android][Fixed] Avoid null reference exception in bridgeless ReactDelegate Reviewed By: javache Differential Revision: D65141137 fbshipit-source-id: 9b002b0520a7eeea61767cb8934e9bb8d049fc6a
- Loading branch information