The logout request. Before it, the app uploads what is pending (doUserLogout
triggers an upload now): the events of the departing identity leave under its
own tokens, while the session still holds them (FlushTelemetryAtLogout).
Events that remain when the account changes without a logout are left out of
the next upload and never written under another account's tokens
(packages/pigeon-nest/spec/).
The logout request. Before it, the app uploads what is pending (
doUserLogouttriggers an upload now): the events of the departing identity leave under its own tokens, while the session still holds them (FlushTelemetryAtLogout). Events that remain when the account changes without a logout are left out of the next upload and never written under another account's tokens (packages/pigeon-nest/spec/).