mobilemessaging/audiomsg/src/audiomessageappui.cpp
branchRCL_3
changeset 77 da6ac9d688df
parent 71 17302fa075e1
--- a/mobilemessaging/audiomsg/src/audiomessageappui.cpp	Wed Sep 15 12:08:45 2010 +0300
+++ b/mobilemessaging/audiomsg/src/audiomessageappui.cpp	Wed Oct 13 14:27:34 2010 +0300
@@ -343,14 +343,7 @@
     delete iInsertOperation;
     if ( iWaitDialog )
     	{
-		// iWaitDialog->ProcessFinishedL is for
-		// cancellation\closing  of wait dialog is asynchronous operation. it never gets so
-		// far that dialog would be really deleted before the application terminates.
-		// so to avoid memory leak , deleting the iWaitDialog.
-    	iWaitDialog->SetCallback( NULL );
     	TRAP_IGNORE( iWaitDialog->ProcessFinishedL() );
-    	delete iWaitDialog;
-		iWaitDialog = NULL;
     	}    
     delete iIdle;
     delete iAbsorber;