mirror of
https://github.com/ruvnet/ruflo.git
synced 2026-11-25 06:36:49 +09:00
checkpoint: File edit:
🚀 Generated with [Claude Code](https://claude.com/claude-code) 📊 V3 Development Progress Checkpoint Co-Authored-By: Claude Sonnet 4 <noreply@anthropic.com>
This commit is contained in:
1 parent
779578c299
commit
3e2ff5097f
1 file changed
+7
-1
@@ -80,8 +80,13 @@ export class MessageBus extends EventEmitter implements IMessageBus {
|
||||
this.processingInterval = undefined;
|
||||
}
|
||||
|
||||
if (this.statsInterval) {
|
||||
clearInterval(this.statsInterval);
|
||||
this.statsInterval = undefined;
|
||||
}
|
||||
|
||||
// Clear all pending acks
|
||||
for (const [messageId, pending] of this.pendingAcks) {
|
||||
for (const [, pending] of this.pendingAcks) {
|
||||
clearTimeout(pending.timeout);
|
||||
}
|
||||
this.pendingAcks.clear();
|
||||
@@ -89,6 +94,7 @@ export class MessageBus extends EventEmitter implements IMessageBus {
|
||||
// Clear all queues
|
||||
this.queues.clear();
|
||||
this.subscriptions.clear();
|
||||
this.messageHistory = [];
|
||||
|
||||
this.emit('shutdown');
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user