2
0
mirror of synced 2025-01-22 12:19:25 +00:00

Remove db listener when an error occurs as it is removed internally by Firebase (iOS)

This commit is contained in:
Chris Bianca 2017-03-09 16:46:02 +00:00
parent b02bcbd9cf
commit 25e4d39a16

View File

@ -50,6 +50,7 @@
};
id errorBlock = ^(NSError * _Nonnull error) {
NSLog(@"Error onDBEvent: %@", [error debugDescription]);
[self unsetListeningOn:eventName];
[self getAndSendDatabaseError:error
path:_path
modifiersString:_modifiersString];