mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
608670ebed
Summary: In some rare race condition (usually involving network request handling vs bridge shutting down), there may be bad access to an RCTModuleData that may have been de-allocated. To prevent crashes, let's guard the access and return nil appropriately. Reviewed By: yungsters Differential Revision: D13548755 fbshipit-source-id: b97326524cd9ca70a13d15098a1eaadfc7f1a6a8