mirror of
https://github.com/smittix/intercept.git
synced 2026-06-10 23:13:31 -07:00
dc0775f7df
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>