mirror of
https://github.com/zhigang1992/react-native-firebase.git
synced 2026-01-12 17:42:24 +08:00
Co-authored-by: Mike Diarmid <mike.diarmid@gmail.com> [publish]
This commit is contained in:
@@ -44,11 +44,11 @@ static __strong NSMutableDictionary *httpMetrics;
|
||||
|
||||
- (void)dealloc {
|
||||
@synchronized ([self class]) {
|
||||
for (NSString *key in traces) {
|
||||
for (NSString *key in [traces allKeys]) {
|
||||
[traces removeObjectForKey:key];
|
||||
}
|
||||
|
||||
for (NSString *key in httpMetrics) {
|
||||
for (NSString *key in [httpMetrics allKeys]) {
|
||||
[httpMetrics removeObjectForKey:key];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user