mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-19 17:05:44 +01:00
Core/Instances: Delete InstanceSaveMgr and replace most of its uses with new InstanceLockMgr
This commit is contained in:
@@ -33,7 +33,6 @@
|
||||
#include "DeadlineTimer.h"
|
||||
#include "GitRevision.h"
|
||||
#include "InstanceLockMgr.h"
|
||||
#include "InstanceSaveMgr.h"
|
||||
#include "IoContext.h"
|
||||
#include "MapManager.h"
|
||||
#include "Metric.h"
|
||||
@@ -317,7 +316,6 @@ extern int main(int argc, char** argv)
|
||||
// unload battleground templates before different singletons destroyed
|
||||
sBattlegroundMgr->DeleteAllBattlegrounds();
|
||||
|
||||
sInstanceSaveMgr->Unload();
|
||||
sOutdoorPvPMgr->Die(); // unload it before MapManager
|
||||
sMapMgr->UnloadAll(); // unload all grids (including locked in memory)
|
||||
sTerrainMgr.UnloadAll();
|
||||
|
||||
Reference in New Issue
Block a user