File tree Expand file tree Collapse file tree 2 files changed +3
-0
lines changed
packages/replay-internal/src Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -606,6 +606,7 @@ export class ReplayContainer implements ReplayContainerInterface {
606
606
607
607
// Once this session ends, we do not want to refresh it
608
608
if ( this . session ) {
609
+ this . session . dirty = false ;
609
610
this . _updateUserActivity ( activityTime ) ;
610
611
this . _updateSessionActivity ( activityTime ) ;
611
612
this . _maybeSaveSession ( ) ;
Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ export function makeSession(session: Partial<Session> & { sampled: Sampled }): S
13
13
const segmentId = session . segmentId || 0 ;
14
14
const sampled = session . sampled ;
15
15
const previousSessionId = session . previousSessionId ;
16
+ const dirty = session . dirty || false ;
16
17
17
18
return {
18
19
id,
@@ -21,5 +22,6 @@ export function makeSession(session: Partial<Session> & { sampled: Sampled }): S
21
22
segmentId,
22
23
sampled,
23
24
previousSessionId,
25
+ dirty,
24
26
} ;
25
27
}
You can’t perform that action at this time.
0 commit comments