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
Forward ChannelMsg::Close to channel before dropping sender
When the remote side sends CHANNEL_CLOSE, the client and server
handlers were removing the channel entry (dropping the mpsc Sender)
without first forwarding ChannelMsg::Close. Consumers on
Channel::wait() would see None with no preceding Close message,
unlike CHANNEL_EOF which correctly sends ChannelMsg::Eof first.
Send ChannelMsg::Close through the channel's mpsc before removing
it, matching the existing CHANNEL_EOF pattern.
0 commit comments