mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-19 00:48:56 +01:00
- Call mysql_thread_end() for every deleted MySQLConnection instance, should fix the ¨Error in my_thread_global_end(): X threads didn't exit¨ issue. (Thanks to Aokromes for testing)
- Add some debug info to help trace down the other causes of the shutdown crash. --HG-- branch : trunk
This commit is contained in:
@@ -40,6 +40,7 @@ m_Mysql(NULL)
|
||||
|
||||
MySQLConnection::~MySQLConnection()
|
||||
{
|
||||
MySQL::Thread_End();
|
||||
mysql_close(m_Mysql);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user