summaryrefslogtreecommitdiffstats
path: root/src/ClientHandle.cpp
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-01-24 22:23:33 +0100
committermadmaxoft <github@xoft.cz>2014-01-24 22:23:58 +0100
commit6c1d992eeba5c300da1a2b7a50fbda52b3774ff4 (patch)
tree8963dd6fe88e86fc1cba9fa8117b28014a8f44d3 /src/ClientHandle.cpp
parentFixed a failure in cSquid. (diff)
downloadcuberite-6c1d992eeba5c300da1a2b7a50fbda52b3774ff4.tar
cuberite-6c1d992eeba5c300da1a2b7a50fbda52b3774ff4.tar.gz
cuberite-6c1d992eeba5c300da1a2b7a50fbda52b3774ff4.tar.bz2
cuberite-6c1d992eeba5c300da1a2b7a50fbda52b3774ff4.tar.lz
cuberite-6c1d992eeba5c300da1a2b7a50fbda52b3774ff4.tar.xz
cuberite-6c1d992eeba5c300da1a2b7a50fbda52b3774ff4.tar.zst
cuberite-6c1d992eeba5c300da1a2b7a50fbda52b3774ff4.zip
Diffstat (limited to '')
-rw-r--r--src/ClientHandle.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/ClientHandle.cpp b/src/ClientHandle.cpp
index 18e3d560e..56ad4e4ba 100644
--- a/src/ClientHandle.cpp
+++ b/src/ClientHandle.cpp
@@ -148,15 +148,6 @@ cClientHandle::~cClientHandle()
SendDisconnect("Server shut down? Kthnxbai");
}
- // Queue all remaining outgoing packets to cSocketThreads:
- {
- cCSLock Lock(m_CSOutgoingData);
- AString Data;
- m_OutgoingData.ReadAll(Data);
- m_OutgoingData.CommitRead();
- cRoot::Get()->GetServer()->WriteToClient(this, Data);
- }
-
// Close the socket as soon as it sends all outgoing data:
cRoot::Get()->GetServer()->RemoveClient(this);