mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
99f2f5ffdd
Summary: Instead of doing a "containsKey then get", just get the rootViewTag and see if it's non-null. Theoretically, since it's a concurrent data-structure, it could be removed from the ConcurrentHashMap between "containsKey" returning true and the "get". This does not fix any known, existing problems. Changelog: [Internal] Reviewed By: mdvacca Differential Revision: D25378703 fbshipit-source-id: 62a44e68e4443dac5a557263cc4bb33de9eea993