]> granicus.if.org Git - icinga2/commitdiff
Fix a deadlock in ApiClient::Disconnect
authorGunnar Beutner <gunnar@beutner.name>
Thu, 26 Feb 2015 16:23:06 +0000 (17:23 +0100)
committerGunnar Beutner <gunnar@beutner.name>
Thu, 26 Feb 2015 16:23:06 +0000 (17:23 +0100)
fixes #8549

lib/remote/apiclient.cpp

index f3a8b01035171030223f44c61823d768c032abc3..c0c6590d6fdccf96ceb6a980d36fc1473dcccaee 100644 (file)
@@ -118,8 +118,6 @@ void ApiClient::Disconnect(void)
        } catch (const std::exception&) {
                /* Ignore the exception. */
        }
-
-       m_WriteQueue.Join();
 }
 
 bool ApiClient::ProcessMessage(void)