mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 07:30:42 +01:00
Core/Database: Fixed HotfixDatabase not being closed on shutdown with --update-databases-only
Closes #29599
This commit is contained in:
@@ -1812,8 +1812,6 @@ void World::SetInitialWorldSettings()
|
||||
sDB2Manager.LoadHotfixData(m_availableDbcLocaleMask);
|
||||
TC_LOG_INFO("misc", "Loading hotfix optional data...");
|
||||
sDB2Manager.LoadHotfixOptionalData(m_availableDbcLocaleMask);
|
||||
///- Close hotfix database - it is only used during DB2 loading
|
||||
HotfixDatabase.Close();
|
||||
///- Load M2 fly by cameras
|
||||
LoadM2Cameras(m_dataPath);
|
||||
///- Load GameTables
|
||||
|
||||
@@ -675,8 +675,9 @@ bool StartDB()
|
||||
|
||||
void StopDB()
|
||||
{
|
||||
CharacterDatabase.Close();
|
||||
HotfixDatabase.Close();
|
||||
WorldDatabase.Close();
|
||||
CharacterDatabase.Close();
|
||||
LoginDatabase.Close();
|
||||
|
||||
MySQL::Library_End();
|
||||
|
||||
Reference in New Issue
Block a user