·
15 commits
to main
since this release
Patch Changes
- 326d05f: Fix memory leak when app-level retries are exhausted in
createSSE. Previously, when all reconnect attempts were used up and theEventSourcewas permanently closed,currentCleanupwas never called — leaving theEventSourceinstance and its event listeners alive in memory, and thesourcesignal pointing to a stale handle. Now anelse ifbranch explicitly callscurrentCleanup(), clears the reference, and sets thesourcesignal toundefined.