diff --git a/source/cServer.cpp b/source/cServer.cpp index 65691e0cf..15f19eeed 100644 --- a/source/cServer.cpp +++ b/source/cServer.cpp @@ -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();