mobilemessaging/audiomsg/src/audiomessageappui.cpp
branchRCL_3
changeset 77 da6ac9d688df
parent 71 17302fa075e1
equal deleted inserted replaced
71:17302fa075e1 77:da6ac9d688df
   341     delete iSaveOperation;
   341     delete iSaveOperation;
   342     delete iSendOperation;
   342     delete iSendOperation;
   343     delete iInsertOperation;
   343     delete iInsertOperation;
   344     if ( iWaitDialog )
   344     if ( iWaitDialog )
   345     	{
   345     	{
   346 		// iWaitDialog->ProcessFinishedL is for
       
   347 		// cancellation\closing  of wait dialog is asynchronous operation. it never gets so
       
   348 		// far that dialog would be really deleted before the application terminates.
       
   349 		// so to avoid memory leak , deleting the iWaitDialog.
       
   350     	iWaitDialog->SetCallback( NULL );
       
   351     	TRAP_IGNORE( iWaitDialog->ProcessFinishedL() );
   346     	TRAP_IGNORE( iWaitDialog->ProcessFinishedL() );
   352     	delete iWaitDialog;
       
   353 		iWaitDialog = NULL;
       
   354     	}    
   347     	}    
   355     delete iIdle;
   348     delete iIdle;
   356     delete iAbsorber;
   349     delete iAbsorber;
   357     delete iFindItemMenu;
   350     delete iFindItemMenu;
   358     delete iNotifyHandler;
   351     delete iNotifyHandler;