mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 07:30:42 +01:00
Core/OutdoorPvP: Fixed shutdown crash
This commit is contained in:
@@ -345,8 +345,8 @@ extern int main(int argc, char** argv)
|
||||
// unload battleground templates before different singletons destroyed
|
||||
sBattlegroundMgr->DeleteAllBattlegrounds();
|
||||
|
||||
sOutdoorPvPMgr->Die(); // unload it before MapManager
|
||||
sMapMgr->UnloadAll(); // unload all grids (including locked in memory)
|
||||
sOutdoorPvPMgr->Die();
|
||||
sTerrainMgr.UnloadAll();
|
||||
sInstanceLockMgr.Unload();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user