Mehdi Mulani
67afaefa78
Remove previously scheduled NetInfo callbacks if they haven't fired
...
Summary:
@public
If you call NetInfo.getCurrentConnectivity multiple times in succession, we'll create a bunch of callbacks but lose them in the ether.
With this fix, we'll unschedule them before creating a new one, which should resolve some crashes we're seeing.
Reviewed By: PeteTheHeat
Differential Revision: D10409486
fbshipit-source-id: 6065b09fa626f7f06aed9bf0e278c0a6a6169f58
2018-10-18 12:15:44 -07:00
..
2018-09-11 15:33:07 -07:00
2018-09-11 15:33:07 -07:00
2018-10-05 15:03:15 -07:00
2018-09-11 15:33:07 -07:00
2018-09-11 15:33:07 -07:00
2018-09-21 11:11:33 -07:00
2018-09-11 15:33:07 -07:00
2018-09-11 15:33:07 -07:00
2018-10-12 15:17:02 -07:00
2018-09-11 15:33:07 -07:00
2018-10-15 12:41:00 -07:00
2018-09-28 17:16:55 -07:00
2018-10-12 15:17:02 -07:00
2018-09-11 15:33:07 -07:00
2018-10-08 10:31:35 -07:00
2017-08-09 07:48:09 -07:00
2018-09-11 15:33:07 -07:00
2018-10-02 13:47:44 -07:00
2018-10-12 11:33:49 -07:00
2018-10-13 01:32:48 -07:00
2018-09-28 17:16:55 -07:00
2018-09-28 01:07:45 -07:00
2018-10-09 23:32:24 -07:00
2018-09-21 06:18:39 -07:00
2018-10-15 18:09:16 -07:00
2018-09-24 15:20:58 -07:00
2018-09-28 09:17:17 -07:00
2018-10-18 12:15:44 -07:00
2018-09-11 15:33:07 -07:00
2018-09-11 15:33:07 -07:00
2018-09-11 15:33:07 -07:00
2018-09-11 15:33:07 -07:00
2018-09-27 16:03:22 -07:00
2018-10-17 22:24:34 -07:00
2018-10-12 09:03:28 -07:00
2018-10-12 17:44:56 -07:00
2018-09-11 15:33:07 -07:00
2018-09-11 15:33:07 -07:00
2018-09-11 15:33:07 -07:00
2018-09-11 15:33:07 -07:00
2018-10-01 12:19:15 -07:00
2018-09-11 15:33:07 -07:00
2018-09-11 15:33:07 -07:00
2018-10-16 19:44:28 -07:00
2018-09-27 14:18:31 -07:00
2018-10-17 22:00:21 -07:00
2018-09-17 15:02:24 -07:00
2018-09-11 15:33:07 -07:00
2018-10-18 01:06:25 -07:00
2018-09-11 15:33:07 -07:00
2018-09-11 20:47:03 -07:00
2018-02-27 08:42:14 -08:00
2018-09-11 15:33:07 -07:00
2018-09-11 15:33:07 -07:00
2018-09-11 15:33:07 -07:00