mirror of https://github.com/Icinga/icinga2.git
parent
eb0892273e
commit
5dd685cef9
|
@ -245,7 +245,9 @@ void TlsStream::OnEvent(int revents)
|
||||||
}
|
}
|
||||||
|
|
||||||
if (m_Shutdown && !m_SendQ->IsDataAvailable()) {
|
if (m_Shutdown && !m_SendQ->IsDataAvailable()) {
|
||||||
lock.unlock();
|
if (!success)
|
||||||
|
lock.unlock();
|
||||||
|
|
||||||
Close();
|
Close();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue