Follow Discord
Sweep 03 Dec 2026 · 19:13Z Build v2.1.336 553 read Stable v2.1.332 Latest v2.1.336 Next v2.1.336 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.334 ·

Leftover shell processes are cleaned up more reliably when an agent stops

When an agent stops, Claude Code now identifies leftover shells by start time, follows up with a forced stop, and retries once

You'll notice Bug Fixes
JSON All of v2.1.334
You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
ElsewhereArea: what it touches
Bug FixesKind: in v2.1.334,
Bug FixesSection of the release
What

An agent can start shell processes, which are commands running in the background. When the agent stops, Claude Code ends any that are left over. This cleanup used to ask each process to stop and then force it to stop, in a single pass with no retry.

Now it works like this:

  • It matches leftover processes against the system's list of running processes using their start time.
  • It follows up with SIGKILL, the signal that forces a process to stop.
  • If reading the process list fails, it tries once more.
Why

Shells that an agent leaves running are more likely to be ended.

See this entry in the whole of v2.1.334 →

Feedback