{"version":"2.1.326","anchor":"daemon-retire-if-empty-sweep-and-gateway-mark-handling","canonical_anchor":"daemon-retire-if-empty-sweep-and-gateway-mark-handling","heading":"Background sessions are removed more carefully after your computer sleeps","tier":"notice","area":"Daemon","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.326\/e\/daemon-retire-if-empty-sweep-and-gateway-mark-handling","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.326","markdown":"### Background sessions are removed more carefully after your computer sleeps\n\nThe background service now removes empty sessions on a regular check but keeps them if that check ran late because the computer slept\n\n**What**\n\nClaude Code's background service is a program that keeps running to look after sessions. It now checks at regular times whether a session is empty and can be removed.\n\nIf the last check ran more than twice the usual gap ago, as happens when the computer was asleep, the session is kept.\n\nA message about gateway marks now says that a worker without one stops. A worker is a process that runs a session.\n\n**Why**\n\nSessions are less likely to be removed by mistake just because your computer slept between checks.\n\n- Area: Daemon\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}