fix: [ENG-2842] fix mcp loop error high cpu and harden shutdown (#664)
- crash handlers: one-shot guard + isolated try/catch + exit(1) (#660) - bounded shutdown via runMcpCleanup (2s cap, used by all 3 paths) - McpServer.close() after daemon disconnect so in-flight tools can surface a clean error before the stdio transport closes
B
bao-byterover committed
dc83a641331dd9697598aa7f0e073748d9d45b1f
Parent: 12ce3d0
Committed by GitHub <noreply@github.com>
on 5/18/2026, 4:00:23 AM