Example #1
0
plCommonObjLib::~plCommonObjLib()
{
    ClearObjectList();

    // Remove ourselves from the list of libs
    if( fLibList->Remove( this ) )
    {
        // List is no longer needed
        delete fLibList;
        fLibList = nil;
    }
}
Example #2
0
CObjectManager::~CObjectManager()
{
	ClearObjectList();
	SAFE_DELETE(m_pPhysic);
}