Remove db listener when an error occurs as it is removed internally by Firebase (iOS)
This commit is contained in:
parent
b02bcbd9cf
commit
25e4d39a16
@ -50,6 +50,7 @@
|
||||
};
|
||||
id errorBlock = ^(NSError * _Nonnull error) {
|
||||
NSLog(@"Error onDBEvent: %@", [error debugDescription]);
|
||||
[self unsetListeningOn:eventName];
|
||||
[self getAndSendDatabaseError:error
|
||||
path:_path
|
||||
modifiersString:_modifiersString];
|
||||
|
Loading…
x
Reference in New Issue
Block a user