mirror of
https://github.com/smittix/intercept.git
synced 2026-04-25 07:10:00 -07:00
The previous stopPromise guard only prevented new polls from being dispatched. Polls already in-flight before stop was clicked could still return with running=true and override the stopping lifecycle, causing SSE reconnection and an apparent restart loop. Add a second guard in the .then() handler to check stopPromise/lifecycle before acting. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>