Sweep 19 Sep 2026 · 02:36Z Build v2.1.278 500 read Stable v2.1.267 Latest v2.1.278 Next v2.1.278 Feeds RSS JSON llms.txt Unofficial
Claude Code v2.1.267 ·

Bug fix: SIGINT cleanup guard flag was setting the wrong variable

Fixed a bug where Ctrl-C cleanup for MCP servers checked one variable but set a different one

TierYou'll noticehow much it should matter to you
Useful1my rating, 1 to 5
Signal1worth watching, 1 to 5
AreaMCPwhat it touches
KindBug Fixesin v2.1.267,
You'll notice

Fixed a bug where Ctrl-C cleanup for MCP servers checked one variable but set a different one

What

When Claude Code handles Ctrl-C (SIGINT) to shut down MCP servers, the cleanup code used a guard flag to prevent the cleanup from running twice. Due to a bug, it checked one variable but set a different, unrelated one, so the guard never actually took effect. It now correctly sets the same flag it checks.

Why

This fixes a bug that could have allowed MCP server cleanup on Ctrl-C to run more than once instead of being properly guarded against double execution.

See this entry in the whole of v2.1.267 →