mirror of
https://github.com/zhigang1992/react-native-firebase.git
synced 2026-04-24 04:24:52 +08:00
[perf][android] Remove trace instance on stop
This commit is contained in:
@@ -39,6 +39,7 @@ public class RNFirebasePerformance extends ReactContextBaseJavaModule {
|
||||
public void stop(String identifier) {
|
||||
Trace trace = getOrCreateTrace(identifier);
|
||||
trace.stop();
|
||||
traces.remove(identifier);
|
||||
}
|
||||
|
||||
@ReactMethod
|
||||
|
||||
Reference in New Issue
Block a user