mirror of
https://github.com/mangosfour/server.git
synced 2025-12-16 04:37:00 +00:00
[6886] Prevent some memory losses at server shutdown.
This commit is contained in:
parent
a3a57a5390
commit
8eccdbc046
3 changed files with 10 additions and 1 deletions
|
|
@ -125,6 +125,9 @@ World::~World()
|
|||
|
||||
m_weathers.clear();
|
||||
|
||||
while (!cliCmdQueue.empty())
|
||||
delete cliCmdQueue.next();
|
||||
|
||||
VMAP::VMapFactory::clear();
|
||||
|
||||
if(m_resultQueue) delete m_resultQueue;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue