Core: Remove an annoying memoryleak in OutdoorPVPMgr (Patch by Raczman)

This commit is contained in:
click
2012-03-25 04:20:53 +02:00
parent e37a4e5fe2
commit f5a9206b0e
3 changed files with 7 additions and 2 deletions
@@ -30,6 +30,7 @@
#include "MapManager.h"
#include "Timer.h"
#include "WorldRunnable.h"
#include "OutdoorPvPMgr.h"
#define WORLD_SLEEP_CONST 50
@@ -93,4 +94,5 @@ void WorldRunnable::run()
sMapMgr->UnloadAll(); // unload all grids (including locked in memory)
sObjectAccessor->UnloadAll(); // unload 'i_player2corpse' storage and remove from world
sScriptMgr->Unload();
sOutdoorPvPMgr->Die();
}