Skip to content

Commit cf6e08d

Browse files
committed
Fixed missed change
1 parent 9d8153f commit cf6e08d

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Agent/Harvester/NRMAHarvestTimer.m

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,9 +84,7 @@ - (void) tick
8484
[self updateTimer];
8585

8686
if([[NRMASessionManager shared] shouldEndSession]){
87-
[[[NewRelicAgentInternal sharedInstance] analyticsController] newSessionWithEndTimestamp:[NSDate date]];
88-
89-
[[NewRelicAgentInternal sharedInstance] sessionReplayStartNewSession];
87+
[[NewRelicAgentInternal sharedInstance] endSessionWithTime:[[NSDate date] timeIntervalSince1970]];
9088

9189
[[NewRelicAgentInternal sharedInstance] sessionStartInitialization];
9290
}

0 commit comments

Comments
 (0)