You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
AuthArea: what it touches
ImprovementsKind: in v2.1.336,
ImprovementsSection of the release
What
When a session ends, Claude Code shuts down and then forces its process to exit. A session is one run of Claude Code from start to finish. Under some conditions it now waits for a login token refresh that is still in progress before forcing the exit. A token refresh renews the credential that keeps you signed in. The wait has a deadline, and Claude Code exits once that passes. It does not apply on Windows. Before, Claude Code forced the exit straight away.
Why
This can stop a token refresh being cut off halfway when Claude Code closes. Exiting may take a little longer when a refresh is underway.