react-native/Libraries/Network
Mehdi Mulani 9d45de60ac Properly tear down the reachabilityRef in RCTNetInfo
Summary: The pull request that added this (#17397) simply forgot to remove the callback, which would cause crashes if the RCTNetInfo module was ever deallocated. While that usually doesn't happen in apps, it can if the user logs out and you need to wipe all the RCT modules (to remove user data, for instance).

Reviewed By: PeteTheHeat

Differential Revision: D7322999

fbshipit-source-id: e49ec7311b39920f7b7743a5854c0dda1dbccc73
2018-03-19 11:00:23 -07:00
..
RCTNetwork.xcodeproj Standardize project indentation settings on 2 spaces 2017-07-31 05:20:03 -07:00
__tests__ Update license headers for MIT license 2018-02-16 18:31:53 -08:00
FormData.js Update license headers for MIT license 2018-02-16 18:31:53 -08:00
NetInfo.js Fix ESLint warnings using 'yarn lint --fix' 2018-02-22 07:23:17 -08:00
RCTDataRequestHandler.h Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTDataRequestHandler.m Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTFileRequestHandler.h Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTFileRequestHandler.m Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTHTTPRequestHandler.h Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTHTTPRequestHandler.mm Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTNetInfo.h Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTNetInfo.m Properly tear down the reachabilityRef in RCTNetInfo 2018-03-19 11:00:23 -07:00
RCTNetworkTask.h Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTNetworkTask.m Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTNetworking.android.js Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTNetworking.h Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTNetworking.ios.js Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTNetworking.mm Update license headers for MIT license 2018-02-16 18:31:53 -08:00
XHRInterceptor.js Update license headers for MIT license 2018-02-16 18:31:53 -08:00
XMLHttpRequest.js Update license headers for MIT license 2018-02-16 18:31:53 -08:00
convertRequestBody.js Update license headers for MIT license 2018-02-16 18:31:53 -08:00
fetch.js Update license headers for MIT license 2018-02-16 18:31:53 -08:00