Spencer Ahrens 6e179fb7cd [ReactNative] introduce mountSafeCallback
Summary:
`mountSafeCallback` simply wraps a callback in an `isMounted()` check to prevent crashes when old callbacks are called on unmounted components.

@public

Test Plan:
Added logging and made sure callbacks were getting called through
`mountSafeCallback` and that things worked (e.g. photo viewer rotation etc).
2015-05-13 18:36:53 -08:00
..
2015-03-23 16:47:26 -08:00
2015-03-23 16:47:26 -08:00
2015-03-23 16:47:26 -08:00
2015-03-23 16:47:26 -08:00
2015-03-23 16:47:26 -08:00
2015-03-23 16:47:26 -08:00
2015-03-23 16:47:26 -08:00
2015-03-23 16:47:26 -08:00