fix(reply): clear idle followup callbacks

This commit is contained in:
Vincent Koc
2026-03-23 10:18:54 -07:00
committed by Peter Steinberger
parent 3de42e946a
commit 02e07a157d
2 changed files with 28 additions and 0 deletions

View File

@@ -178,6 +178,7 @@ export function scheduleFollowupDrain(
queue.draining = false;
if (queue.items.length === 0 && queue.droppedCount === 0) {
FOLLOWUP_QUEUES.delete(key);
clearFollowupDrainCallback(key);
} else {
scheduleFollowupDrain(key, effectiveRunFollowup);
}