Checkpoint: File edits

Automatic checkpoint created by Claude Code
- Branch: v3
- Timestamp: 2026-01-07T23:39:58Z
- Changes: 1 file(s)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
rUvandClaude Opus 4.5 committed 2026-01-07 23:39:58 +00:00
1 parent 55b135d02d
commit 5defecb79f
1 file changed
+3 -2
@@ -755,8 +755,9 @@ export class HeadlessWorkerExecutor extends EventEmitter {
cancelAll(): number {
let cancelled = 0;
// Cancel active processes
for (const [executionId, entry] of this.processPool) {
// Cancel active processes (convert to array to avoid iterator issues)
const entries = Array.from(this.processPool.entries());
for (const [executionId, entry] of entries) {
clearTimeout(entry.timeout);
entry.process.kill('SIGTERM');
this.emit('cancelled', { executionId });