We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 23a82a5 commit 3148b6cCopy full SHA for 3148b6c
firebase-perf/src/main/java/com/google/firebase/perf/application/FrameMetricsRecorder.java
@@ -89,8 +89,10 @@ public Optional<PerfFrameMetrics> stop() {
89
return Optional.absent();
90
}
91
if (!fragmentSnapshotMap.isEmpty()) {
92
+ // Instrumentation will be stopped and return activity data. Dangling fragments will fail.
93
logger.debug(
94
"Sub-recordings are still ongoing! Sub-recordings should be stopped first before stopping Activity screen trace.");
95
+ fragmentSnapshotMap.clear();
96
97
Optional<PerfFrameMetrics> data = this.snapshot();
98
try {
0 commit comments