mobilemessaging/audiomsg/src/audiomessageappui.cpp
branchRCL_3
changeset 71 17302fa075e1
parent 60 7fdbb852d323
child 77 da6ac9d688df
equal deleted inserted replaced
66:fc3320e39880 71:17302fa075e1
   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 );
   346     	TRAP_IGNORE( iWaitDialog->ProcessFinishedL() );
   351     	TRAP_IGNORE( iWaitDialog->ProcessFinishedL() );
       
   352     	delete iWaitDialog;
       
   353 		iWaitDialog = NULL;
   347     	}    
   354     	}    
   348     delete iIdle;
   355     delete iIdle;
   349     delete iAbsorber;
   356     delete iAbsorber;
   350     delete iFindItemMenu;
   357     delete iFindItemMenu;
   351     delete iNotifyHandler;
   358     delete iNotifyHandler;