diff options
author | XTZGZoReX <none@none> | 2010-01-29 19:24:14 +0100 |
---|---|---|
committer | XTZGZoReX <none@none> | 2010-01-29 19:24:14 +0100 |
commit | a385ea64b03cc7afbdeb8df3ea8a6d5025d6f96a (patch) | |
tree | 5842394b3f680256135ab3dbd83e9f0f92bd77c6 /src/game/WorldSocketMgr.cpp | |
parent | 80061b789914997fb7d1ac8a2d10e9ff1b74e126 (diff) |
* Call Database::ThreadStart()/Database::ThreadEnd() for all databases in all threads.
--HG--
branch : trunk
Diffstat (limited to 'src/game/WorldSocketMgr.cpp')
-rw-r--r-- | src/game/WorldSocketMgr.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/game/WorldSocketMgr.cpp b/src/game/WorldSocketMgr.cpp index b6407219792..b018e7423e2 100644 --- a/src/game/WorldSocketMgr.cpp +++ b/src/game/WorldSocketMgr.cpp @@ -154,7 +154,9 @@ class ReactorRunnable : protected ACE_Task_Base { DEBUG_LOG ("Network Thread Starting"); - WorldDatabase.ThreadStart (); + WorldDatabase.ThreadStart(); + CharacterDatabase.ThreadStart(); + loginDatabase.ThreadStart(); ACE_ASSERT (m_Reactor); @@ -187,7 +189,9 @@ class ReactorRunnable : protected ACE_Task_Base } } - WorldDatabase.ThreadEnd (); + WorldDatabase.ThreadEnd(); + CharacterDatabase.ThreadEnd(); + loginDatabase.ThreadEnd(); DEBUG_LOG ("Network Thread Exitting"); |