Skip to content

Commit

Permalink
Merge pull request #10213 from Icinga/do-not-read-data-on-disconnect
Browse files Browse the repository at this point in the history
JsonRpcConnection: Don't read any data on shutdown
  • Loading branch information
Al2Klimov authored Nov 7, 2024
2 parents 0fde1ef + 1c34610 commit 9a8620d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/remote/jsonrpcconnection.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ void JsonRpcConnection::HandleIncomingMessages(boost::asio::yield_context yc)
{
m_Stream->next_layer().SetSeen(&m_Seen);

for (;;) {
while (!m_ShuttingDown) {
String message;

try {
Expand Down

0 comments on commit 9a8620d

Please sign in to comment.