This PR fixes an error where the CLS session window logic tries to access startTime of an undefined entry.
It's still a mystery how this can possibly happen, but given that at least three people have reported it over the years. It's probably worth adding a guard for:
This PR fixes an error where the CLS session window logic tries to access
startTime
of an undefined entry.It's still a mystery how this can possibly happen, but given that at least three people have reported it over the years. It's probably worth adding a guard for:
Addresses the following issues:
(Note: the base branch here is temporary to make the diff easier to see. I'll updated it after the other PRs are merged into the v5 branch.)