From 1f0169d1264575e0ee27e56b150b59071edb0c78 Mon Sep 17 00:00:00 2001 From: Paul Bakaus Date: Fri, 14 Aug 2026 00:01:21 -0400 Subject: [PATCH] Clear the render clock when a poll generation goes stale Follow-up to the generation stamp: both probe callbacks returned on a stale generation without clearing the elapsed-time interval. tryLoad clears it on re-entry, but a probe that finishes stale schedules no re-entry, so flipping back while one was in flight left the interval ticking for the rest of the page's life. Both exits now clear it, which is what the isConnected guard above them already did. Written with AI assistance (Claude Code). Co-Authored-By: Claude Opus 5 (1M context) --- skill/scripts/serve-question.mjs | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/skill/scripts/serve-question.mjs b/skill/scripts/serve-question.mjs index ca134504a..4e80b0027 100644 --- a/skill/scripts/serve-question.mjs +++ b/skill/scripts/serve-question.mjs @@ -1076,7 +1076,11 @@ ${buildPath?.toggle ? `