Files
react-native/Libraries
Mehdi MulaniandLorenzo Sciandra 03bc46d411 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-11-06 10:39:31 +00:00
..
2018-10-12 11:03:20 +01:00
2018-05-10 19:10:38 -07:00
2018-07-19 19:02:13 -07:00
2018-06-06 05:32:06 -07:00
2018-10-25 17:52:59 +01:00
2018-10-19 15:45:17 +01:00
2018-05-10 19:10:38 -07:00
2018-05-10 19:10:38 -07:00
2018-07-31 21:01:41 -07:00
2018-09-11 16:11:16 -07:00
2018-08-13 21:38:57 +01:00
2018-03-08 12:10:14 -08:00
2018-05-10 19:10:38 -07:00