mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-20 17:27:36 +01:00
Core/Database: Fixed HotfixDatabase not being closed on shutdown with --update-databases-only
Closes #29599
(cherry picked from commit 644a479e28)
This commit is contained in:
@@ -1813,8 +1813,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