Core: Remove an annoying memoryleak in OutdoorPVPMgr (Patch by Raczman)
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user