ASSERT: "exist(key)" when you quit your app with QxOrm 1.1.9

Forum for posting problems using QxOrm library

ASSERT: "exist(key)" when you quit your app with QxOrm 1.1.9

Postby QxOrm admin » Thu Sep 29, 2011 3:47 pm

With QxOrm 1.1.9, if you have an assert() when you quit your application, just apply this patch :
In the file './src/QxRegister/IxClass.cpp', replace the class destructor with this code :
Code: Select all
IxClass::~IxClass()
{
   if (QxClassX::isSingletonNull() || m_sKey.isEmpty()) { return; }
   if (! QxClassX::getSingleton()->exist(m_sKey)) { return; }
   QxClassX::getSingleton()->remove(m_sKey);
}
QxOrm admin
 

Re: ASSERT: "exist(key)" when you quit your app with QxOrm 1.1.9

Postby QxOrm admin » Thu Sep 29, 2011 5:06 pm

I applied this modification and just uploaded a new version of QxOrm 1.1.9.
So you can re-download it if you want or apply this patch by yourself.
QxOrm admin
 


Return to QxOrm - Help

Who is online

Users browsing this forum: No registered users and 4 guests