Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't update currentSession when the Session isn't tracked #1434

Merged
merged 1 commit into from
Oct 15, 2021

Conversation

lemnik
Copy link
Contributor

@lemnik lemnik commented Oct 15, 2021

Goal

Don't associate Events with Sessions that were blocked by an OnSessionCallback.

Changeset

When a Session is not tracked, we discard the Session completely to avoid associating any Events with it.

Testing

Added a new unit test to the existing SessionTrackerTest.

@lemnik lemnik requested a review from kattrali October 15, 2021 07:44
@lemnik lemnik force-pushed the PLAT-7437/phantom-sessions branch from 0a3c2d5 to 3381674 Compare October 15, 2021 07:45
@lemnik lemnik merged commit ae0c2f6 into next Oct 15, 2021
@lemnik lemnik deleted the PLAT-7437/phantom-sessions branch October 15, 2021 13:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants