mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
ff849fd175
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/37589 In D44221018, I changed this to return a ref to the smart pointer, and even made it a raw pointer in D45948987, but this is not thread-safe: the uninstallFabricUIManager happens on a different thread from the accesses to these pointers on the JS thread, so we actually need to use the shared pointer here to be safe. Changelog: [Internal] Reviewed By: sammy-SC Differential Revision: D46221511 fbshipit-source-id: d8080042d6f1dbf5550a09b77f1090f78ec82455