You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix session pool: remove broken atexit handler and clean stale entries
The atexit handler created a new event loop to close sessions bound to
the original loop, which silently failed. OS reclaims resources on exit,
so explicit close is unnecessary. Also adds stale-entry cleanup in
get_shared_aio_session() to prevent unbounded dict growth when event
loops are repeatedly created and closed.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
0 commit comments