2
0
mirror of synced 2025-01-22 20:31:59 +00:00

[perf][ios] Fix traceWithName

This commit is contained in:
Chris Bianca 2017-11-09 15:39:25 +00:00
parent 89ce31689e
commit a633dab4a2

View File

@ -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;
}