diff options
Diffstat (limited to '')
-rw-r--r-- | src/ClientHandle.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ClientHandle.cpp b/src/ClientHandle.cpp index d36f27d8c..b6c423652 100644 --- a/src/ClientHandle.cpp +++ b/src/ClientHandle.cpp @@ -133,6 +133,7 @@ void cClientHandle::Destroy(void) { cCSLock Lock(m_CSOutgoingData); + m_Protocol.HandleOutgoingData(m_OutgoingData); // Finalise any encryption. m_Link->Send(m_OutgoingData.data(), m_OutgoingData.size()); // Flush remaining data. m_Link->Shutdown(); // Cleanly close the connection. m_Link.reset(); // Release the strong reference cTCPLink holds to ourself. |