[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
1 changed files with 1 additions and 0 deletions

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