summaryrefslogtreecommitdiffstats
path: root/source
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-06-19 19:34:22 +0200
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-06-19 19:34:22 +0200
commit3943697dcf79b59c5aff0f83d3977b25eae2fbf1 (patch)
tree1d821cb27e19ae60ec09253d80bf9f61aee6a735 /source
parentFixed a (non-fatal) error in the profiling script (diff)
downloadcuberite-3943697dcf79b59c5aff0f83d3977b25eae2fbf1.tar
cuberite-3943697dcf79b59c5aff0f83d3977b25eae2fbf1.tar.gz
cuberite-3943697dcf79b59c5aff0f83d3977b25eae2fbf1.tar.bz2
cuberite-3943697dcf79b59c5aff0f83d3977b25eae2fbf1.tar.lz
cuberite-3943697dcf79b59c5aff0f83d3977b25eae2fbf1.tar.xz
cuberite-3943697dcf79b59c5aff0f83d3977b25eae2fbf1.tar.zst
cuberite-3943697dcf79b59c5aff0f83d3977b25eae2fbf1.zip
Diffstat (limited to '')
-rw-r--r--source/cServer.cpp1
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();