mirror of
https://github.com/zhigang1992/react-native-firebase.git
synced 2026-04-29 20:57:00 +08:00
[ios][perf] fix for #593 - trace incorrectly calling startTraceWithName instead of just traceWithName
This commit is contained in:
@@ -17,7 +17,7 @@ RCT_EXPORT_MODULE();
|
||||
if (_traces[identifier]) {
|
||||
return _traces[identifier];
|
||||
}
|
||||
FIRTrace *trace = [FIRPerformance startTraceWithName:identifier];
|
||||
FIRTrace *trace = [FIRPerformance traceWithName:identifier];
|
||||
_traces[identifier] = trace;
|
||||
return trace;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user