1
0

Fixed a possible crash when restarting / stopping the server.

git-svn-id: http://mc-server.googlecode.com/svn/trunk@632 0a769ca7-a7f5-676a-18bf-c427514a06d6
This commit is contained in:
madmaxoft@gmail.com 2012-06-19 17:34:22 +00:00
parent c2f340d309
commit 3943697dcf

View File

@ -607,6 +607,7 @@ void cServer::Shutdown()
cCSLock Lock(m_CSClients);
for( ClientList::iterator itr = m_Clients.begin(); itr != m_Clients.end(); ++itr )
{
(*itr)->Destroy();
delete *itr;
}
m_Clients.clear();