diff --git a/android/src/main/java/io/invertase/firebase/perf/RNFirebasePerformance.java b/android/src/main/java/io/invertase/firebase/perf/RNFirebasePerformance.java index 47cd968e..f131de96 100644 --- a/android/src/main/java/io/invertase/firebase/perf/RNFirebasePerformance.java +++ b/android/src/main/java/io/invertase/firebase/perf/RNFirebasePerformance.java @@ -39,6 +39,7 @@ public class RNFirebasePerformance extends ReactContextBaseJavaModule { public void stop(String identifier) { Trace trace = getOrCreateTrace(identifier); trace.stop(); + traces.remove(identifier); } @ReactMethod