mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-24 04:16:00 +08:00
Deploy v0.36.0
Reviewed By: zertosh Differential Revision: D4237912 fbshipit-source-id: cc251884350ffa3c8715a4920f90bd301e8a9b7f
This commit is contained in:
committed by
Facebook Github Bot
parent
28275836c9
commit
bf901d926e
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user