mirror of
https://github.com/zhigang1992/react-native-firebase.git
synced 2026-05-26 15:06:39 +08:00
[internals] ensure consistent args on eventsRemoveListener
This commit is contained in:
@@ -35,7 +35,7 @@ class RNFBNativeEventEmitter extends NativeEventEmitter {
|
||||
}
|
||||
|
||||
removeSubscription(subscription) {
|
||||
RNFBAppModule.eventsRemoveListener(subscription.eventType.replace('rnfb_'));
|
||||
RNFBAppModule.eventsRemoveListener(subscription.eventType.replace('rnfb_'), false);
|
||||
super.removeSubscription(subscription);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user