Example #1
0
BlockControl::~BlockControl() 
   {  
   HoldSuspend hs;
   DeleteAllRefs();
   for (int i = 0; i < tempControls.Count(); i++)
      {
      if (tempControls[i] != NULL)
        {
        RefResult res = tempControls[i]->MaybeAutoDelete();
        DbgAssert(REF_SUCCEED == res);
        tempControls[i] = NULL;
        }
      }
   } 
Example #2
0
BlurMgr::~BlurMgr()

// ----------------------------------------------------------------------------
// ----------------------------------------------------------------------------
{
	for (int i=0; i<numBlurs; i++)
		if (m_blurs[i])
			delete m_blurs[i];
	for (int i=0; i<numSels; i++)
		if (m_sels[i])
			delete m_sels[i];
	DeleteAllRefs();
//	if (mp_CCtl)	// Should be deleted by DeleteAllRefs
//	{
//		mp_CCtl->DeleteThis();
//	}
}
Example #3
0
mrTwoSidedShader::~mrTwoSidedShader() {

	// Cleanup
	DeleteAllRefs();
}
Example #4
0
	void SceneState::List_PostRenderObject_TrackRef_Type::clear()
	{
		List_PostRenderObject_Type::clear();
		DeleteAllRefs();
	}