[8318] Deleted as expected runnable objects at related Thread deleting for avoid memory leaks. Author: VladimirMangos

[8319] Restore compile PGSQL support after last changes. Author: ApoC

--HG--
branch : trunk
This commit is contained in:
megamage
2009-08-08 12:12:56 -05:00
parent 658538a092
commit f8a05d264f
7 changed files with 36 additions and 16 deletions
+2 -2
View File
@@ -366,8 +366,8 @@ void DatabasePostgre::InitDelayThread()
assert(!m_delayThread);
//New delay thread for delay execute
m_threadBody = new PGSQLDelayThread(this);
m_delayThread = new ACE_Based::Thread(*m_threadBody);
m_threadBody = new PGSQLDelayThread(this); // Will be deleted on m_delayThread delete
m_delayThread = new ACE_Based::Thread(m_threadBody);
}
void DatabasePostgre::HaltDelayThread()