Repository navigation
Commit 4396359
fix(record): stop an abandoned swiftc with SIGINT so its frontend jobs end too
swift-driver runs each swift-frontend job in its own process group. A
SIGKILL or SIGTERM on a canceled validator compile left the frontend
compiling with no parent; a live cold-cache abandon showed it. On SIGINT
the driver stops its jobs, and SIGKILL still follows after a 2 s grace.
Co-Authored-By: Claude Opus 5.5 <[email protected]>1 parent d0d88de commit 4396359
2 files changed
Lines changed: 8 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
190 | 190 | | |
191 | 191 | | |
192 | 192 | | |
193 | | - | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
194 | 197 | | |
195 | 198 | | |
196 | 199 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
19 | 22 | | |
20 | 23 | | |
21 | 24 | | |
| |||
198 | 201 | | |
199 | 202 | | |
200 | 203 | | |
| 204 | + | |
201 | 205 | | |
202 | 206 | | |
203 | 207 | | |
| |||
0 commit comments