mirror of https://github.com/Icinga/icinga2.git
Merge pull request #10213 from Icinga/do-not-read-data-on-disconnect
JsonRpcConnection: Don't read any data on shutdown
This commit is contained in:
commit
9a8620d923
|
@ -62,7 +62,7 @@ void JsonRpcConnection::HandleIncomingMessages(boost::asio::yield_context yc)
|
||||||
{
|
{
|
||||||
m_Stream->next_layer().SetSeen(&m_Seen);
|
m_Stream->next_layer().SetSeen(&m_Seen);
|
||||||
|
|
||||||
for (;;) {
|
while (!m_ShuttingDown) {
|
||||||
String message;
|
String message;
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
|
Loading…
Reference in New Issue