1
0

Another fix for #31.

This seems to have done it, no more crashes for me.
This commit is contained in:
madmaxoft 2013-08-22 08:17:26 +02:00
parent 1998fe1871
commit 16e3242456

View File

@ -1287,6 +1287,12 @@ void cClientHandle::HandleTabCompletion(const AString & a_Text)
void cClientHandle::SendData(const char * a_Data, int a_Size)
{
if (m_HasSentDC)
{
// This could crash the client, because they've already unloaded the world etc., and suddenly a wild packet appears (#31)
return;
}
{
cCSLock Lock(m_CSOutgoingData);