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
- Make close() idempotent with _isClosed flag
- Prevent infinite recursion by clearing _otherTransport before calling peer.close()
- Ensure both transports' onclose callbacks fire
- Add tests for idempotency, concurrent closes, and post-close behavior
Fixes deadlock where closing one transport would not properly close its peer,
causing promises to hang indefinitely.
0 commit comments