Skip to content

Commit cf355ae

Browse files
committed
Updates
1 parent 5c281bc commit cf355ae

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/a2a/client/transports/http_helpers.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -104,9 +104,9 @@ class _SSEEventSource:
104104
"""Class-based replacement for ``httpx_sse.aconnect_sse``.
105105
106106
``aconnect_sse`` is an ``@asynccontextmanager`` whose internal async
107-
generator leaks into ``loop._asyncgens``. When the enclosing async
108-
generator is abandoned, ``shutdown_asyncgens`` collides with the
109-
cascading ``athrow()`` cleanup — see https://bugs.python.org/issue38559.
107+
generator gets tracked by the event loop. When the enclosing async
108+
generator is abandoned, the event loop's generator cleanup collides
109+
with the cascading cleanup — see https://bugs.python.org/issue38559.
110110
111111
Plain ``__aenter__``/``__aexit__`` coroutines avoid this entirely.
112112
"""

0 commit comments

Comments
 (0)