[perf][android] Remove trace instance on stop
This commit is contained in:
parent
f02d097c53
commit
dd0c86aed5
|
@ -39,6 +39,7 @@ public class RNFirebasePerformance extends ReactContextBaseJavaModule {
|
|||
public void stop(String identifier) {
|
||||
Trace trace = getOrCreateTrace(identifier);
|
||||
trace.stop();
|
||||
traces.remove(identifier);
|
||||
}
|
||||
|
||||
@ReactMethod
|
||||
|
|
Loading…
Reference in New Issue