mirror of
https://github.com/ruvnet/ruflo.git
synced 2026-11-23 21:59:14 +09:00
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:
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 });
|
||||
|
||||
Reference in new issue
Block a user