mirror of
https://github.com/status-im/react-native.git
synced 2025-01-15 20:15:11 +00:00
7615d74d14
Summary: I noticed that sometimes the batched bridge would be valid before `[self enqueueApplicationScript:url:onComplete:]` but then become invalid in the completion callback. This diff checks `self.isValid` inside of the callback. Closes https://github.com/facebook/react-native/pull/2016 Reviewed By: @trunkagent, @jspahrsummers Differential Revision: D2443438 Pulled By: @tadeuzagallo