- 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:
Machiavelli
2010-08-19 16:35:52 +02:00
parent 7d915911f9
commit 46438f9f92
3 changed files with 11 additions and 3 deletions

View File

@@ -40,6 +40,7 @@ m_Mysql(NULL)
MySQLConnection::~MySQLConnection()
{
MySQL::Thread_End();
mysql_close(m_Mysql);
}