Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JsonRpcConnection#Disconnect(): wait for #WriteOutgoingMessages() after cancelling I/O #10219

Closed
wants to merge 1 commit into from

Conversation

Al2Klimov
Copy link
Member

While #Disconnect() is running in foreground on #m_IoStrand, #WriteOutgoingMessages() could wait for #m_OutgoingMessagesQueued or, theoretically, pending I/O. Also cancelling such I/O makes sense, to wake up #WriteOutgoingMessages() first if necessary.

…er cancelling I/O

While #Disconnect() is running in foreground on #m_IoStrand, #WriteOutgoingMessages() could wait for #m_OutgoingMessagesQueued or, theoretically, pending I/O. Also cancelling such I/O makes sense, to wake up #WriteOutgoingMessages() first if necessary.
@Al2Klimov Al2Klimov added the area/distributed Distributed monitoring (master, satellites, clients) label Nov 7, 2024
@cla-bot cla-bot bot added the cla/signed label Nov 7, 2024
@Al2Klimov
Copy link
Member Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/distributed Distributed monitoring (master, satellites, clients) cla/signed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant