Page 1 of 1

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

PostPosted: Thu Sep 29, 2011 3:47 pm
by QxOrm admin
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);
}

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

PostPosted: Thu Sep 29, 2011 5:06 pm
by QxOrm admin
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.