Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Philipp Hofmann <[email protected]>
  • Loading branch information
brustolin and philipphofmann authored Jun 15, 2023
1 parent 99177cf commit 1c55ca4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/Sentry/SentryHub.m
Original file line number Diff line number Diff line change
Expand Up @@ -601,7 +601,7 @@ - (SentryEnvelope *)updateSessionState:(SentryEnvelope *)envelope
}
if (!handled) {
[currentSession endSessionCrashedWithTimestamp:[_currentDateProvider date]];
// Setting _session to nil so starSession dont capture it again
// Setting _session to nil so startSession doesn't capture it again
_session = nil;
[self startSession];
}
Expand Down

0 comments on commit 1c55ca4

Please sign in to comment.