Skip to content

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

Closed
Al2Klimov wants to merge 1 commit intomasterfrom
Al2Klimov-patch-3
Closed

JsonRpcConnection#Disconnect(): wait for #WriteOutgoingMessages() after cancelling I/O#10219
Al2Klimov wants to merge 1 commit intomasterfrom
Al2Klimov-patch-3

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