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: abort in-flight request handlers on connection close
Previously, request handlers would continue running after the transport
disconnected, wasting resources and preventing cleanup of long-running
operations. Protocol._onclose() now aborts all active request handler
AbortControllers with a ConnectionClosed error.
Also fixes InMemoryTransport.close() firing onclose twice on the
initiating side due to peer recursion.
Fixes#611
Co-authored-by: Aljosa Asanovic <aljosa.a@gmail.com>
Abort in-flight request handlers when the connection closes. Previously, request handlers would continue running after the transport disconnected, wasting resources and preventing proper cleanup. Also fixes `InMemoryTransport.close()` firing `onclose` twice on the initiating side.
0 commit comments