Skip to content

armgit / ruflo

Public Imported from GitHub
0

🌊 The original agent harness. Deploy intelligent multi-player swarms, coordinate autonomous workflows, and build conversational AI systems. Features adaptive memory, self-learning intelligence, federation, vector RAG integration, and native Claude Code / Codex / Hermes and many more Integrated

Checkpoint: File edits

rUv634c39595303
diff --git a/v3/@claude-flow/cli/src/services/worker-daemon.ts b/v3/@claude-flow/cli/src/services/worker-daemon.ts
index 76c223710f..4788897848 100644
--- a/v3/@claude-flow/cli/src/services/worker-daemon.ts
+++ b/v3/@claude-flow/cli/src/services/worker-daemon.ts
@@ -335,8 +335,9 @@ export class WorkerDaemon extends EventEmitter {
return;
}
- // Clear all timers
- for (const [type, timer] of this.timers.entries()) {
+ // Clear all timers (convert to array to avoid iterator issues)
+ const timerEntries = Array.from(this.timers.entries());
+ for (const [type, timer] of timerEntries) {
clearTimeout(timer);
this.log('info', `Stopped worker: ${type}`);
}