diff options
-rw-r--r-- | source/cServer.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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(); |