Commit 1a30dd0
authored
fix: shutdown ACP backend on session kill to reap CC child processes (#3184)
Call acpBackend.shutdownSession() before sessions.killSession() in DELETE /v1/sessions/:id handler. Prevents orphaned Claude Code processes (~250MB RSS each) that accumulate and cause OOM kills.\n\nFixes #31841 parent 8ff853d commit 1a30dd0
1 file changed
Lines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
291 | 291 | | |
292 | 292 | | |
293 | 293 | | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
294 | 303 | | |
295 | 304 | | |
296 | 305 | | |
| |||
0 commit comments