From 7268a70902b04e098b6b530986d9ce6d210fdd07 Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Sun, 26 Feb 2012 12:55:42 +0000 Subject: Attempt at fixing crashes with disconnecting players git-svn-id: http://mc-server.googlecode.com/svn/trunk@329 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/cSocketThreads.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'source/cSocketThreads.cpp') diff --git a/source/cSocketThreads.cpp b/source/cSocketThreads.cpp index 5e98398c4..74324f909 100644 --- a/source/cSocketThreads.cpp +++ b/source/cSocketThreads.cpp @@ -87,7 +87,8 @@ void cSocketThreads::RemoveClient(const cSocket * a_Socket) } } // for itr - m_Threads[] - ASSERT(!"Removing an unknown socket"); + // Cannot assert here, this may actually happen legally, since cClientHandle has to clean up the socket and it may have already closed in the meantime + // ASSERT(!"Removing an unknown socket"); } -- cgit v1.2.3