Skip to content

Commit

Permalink
again improve comment
Browse files Browse the repository at this point in the history
  • Loading branch information
philipphofmann committed Nov 12, 2024
1 parent 3cdb3c3 commit e4d3a49
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Sources/Sentry/SentryUIViewControllerPerformanceTracker.m
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,8 @@ - (void)startRootSpanFor:(UIViewController *)controller
// active span. If the user didn't call reportFullyDisplayed, the previous UIViewController
// transaction is still bound to the scope because it waits for its children to finish,
// including the TTFD span. Therefore, we need to finish the TTFD span so the tracer can
// finish and remove itself from the scope.
// finish and remove itself from the scope. We don't need to finish the transaction because
// we already finished it in viewControllerViewDidAppear.
if (self.tracker.activeSpanId == nil) {
[self.currentTTDTracker finishSpansIfNotFinished];
}
Expand Down

0 comments on commit e4d3a49

Please sign in to comment.