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-04-24 08:28:35 -08:00
2015-04-24 08:28:35 -08:00
2015-05-13 13:24:37 -07:00
2015-04-23 12:02:47 -08:00
2015-03-25 14:24:41 -08:00
2015-05-13 13:24:35 -07:00
2015-05-13 13:24:37 -07:00
2015-05-13 13:24:36 -07:00
2015-05-13 13:24:37 -07:00
2015-05-13 13:24:37 -07:00
2015-03-25 11:09:54 -08:00
2015-05-07 13:24:16 -08:00
2015-05-02 14:19:56 -08:00
2015-05-13 13:24:36 -07:00
2015-04-13 11:14:11 -08:00
2015-05-13 17:50:21 -08:00
2015-04-24 11:46:18 -07:00
2015-05-05 14:09:40 -08:00
2015-05-13 13:24:35 -07:00
2015-04-30 14:51:09 -08:00
2015-05-06 14:28:30 -08:00
2015-04-30 17:20:39 -08:00
2015-05-07 13:24:16 -08:00
2015-05-13 18:36:53 -08:00
2015-05-13 13:24:37 -07:00
2015-05-13 13:24:35 -07:00
2015-05-06 00:08:08 -08:00
2015-05-01 18:26:11 -08:00
2015-05-13 13:24:37 -07:00
2015-05-13 13:24:37 -07:00
2015-05-13 18:36:53 -08:00
2015-05-13 13:24:35 -07:00
2015-04-24 08:28:35 -08:00
2015-04-15 06:06:29 -08:00