2
0
mirror of synced 2025-01-11 14:44:12 +00:00

[perf][android] Remove trace instance on stop

This commit is contained in:
Elliot Hesp 2017-05-24 17:01:55 +01:00
parent f02d097c53
commit dd0c86aed5

View File

@ -39,6 +39,7 @@ public class RNFirebasePerformance extends ReactContextBaseJavaModule {
public void stop(String identifier) {
Trace trace = getOrCreateTrace(identifier);
trace.stop();
traces.remove(identifier);
}
@ReactMethod