Core/Instances: Instance lock rewrite (WIP)

This commit is contained in:
Shauren
2018-07-22 13:22:35 +02:00
parent ad2df01b2c
commit 17665c929c
27 changed files with 1261 additions and 419 deletions

View File

@@ -32,6 +32,7 @@
#include "DatabaseLoader.h"
#include "DeadlineTimer.h"
#include "GitRevision.h"
#include "InstanceLockMgr.h"
#include "InstanceSaveMgr.h"
#include "IoContext.h"
#include "MapManager.h"
@@ -320,6 +321,7 @@ extern int main(int argc, char** argv)
sOutdoorPvPMgr->Die(); // unload it before MapManager
sMapMgr->UnloadAll(); // unload all grids (including locked in memory)
sTerrainMgr.UnloadAll();
sInstanceLockMgr.Unload();
});
// Start the Remote Access port (acceptor) if enabled