[perf][ios] Fix traceWithName
This commit is contained in:
parent
89ce31689e
commit
a633dab4a2
@ -17,7 +17,7 @@ RCT_EXPORT_MODULE();
|
||||
if (_traces[identifier]) {
|
||||
return _traces[identifier];
|
||||
}
|
||||
FIRTrace *trace = [FIRPerformance traceWithName:identifier];
|
||||
FIRTrace *trace = [[FIRPerformance sharedInstance] traceWithName:identifier];
|
||||
_traces[identifier] = trace;
|
||||
return trace;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user