diff options
author | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-06-19 19:34:22 +0200 |
---|---|---|
committer | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-06-19 19:34:22 +0200 |
commit | 3943697dcf79b59c5aff0f83d3977b25eae2fbf1 (patch) | |
tree | 1d821cb27e19ae60ec09253d80bf9f61aee6a735 | |
parent | Fixed a (non-fatal) error in the profiling script (diff) | |
download | cuberite-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.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(); |