Deploy v0.36.0

Reviewed By: zertosh

Differential Revision: D4237912

fbshipit-source-id: cc251884350ffa3c8715a4920f90bd301e8a9b7f
This commit is contained in:
Gabe Levi
2016-11-28 10:10:38 -08:00
committed by Facebook Github Bot
parent 28275836c9
commit bf901d926e
6 changed files with 16 additions and 5 deletions

View File

@@ -240,10 +240,12 @@ const NetInfo = {
eventName: ChangeEventName,
handler: Function
): void {
/* $FlowFixMe */
const listener = _isConnectedSubscriptions.get(handler);
NetInfo.removeEventListener(
eventName,
/* $FlowFixMe(>=0.36.0 site=react_native_fb) Flow error detected during
* the deploy of Flow v0.36.0. To see the error, remove this comment
* and run Flow */
listener
);
_isConnectedSubscriptions.delete(handler);