serviceproviders/sapi_mediamanagement/src/mgserviceobserver.cpp
changeset 22 fc9cf246af83
parent 19 989d2f495d90
child 33 50974a8b132e
--- a/serviceproviders/sapi_mediamanagement/src/mgserviceobserver.cpp	Fri Jul 03 15:51:24 2009 +0100
+++ b/serviceproviders/sapi_mediamanagement/src/mgserviceobserver.cpp	Thu Aug 27 07:43:07 2009 +0300
@@ -131,7 +131,10 @@
     iCmdId = EMgBlankCmdId;
     iCallBack = NULL;
     iInput=NULL;
-
+  
+    // For back to back call observer instance should be deleted here
+    delete this;
+    
 	}
 
 
@@ -170,6 +173,9 @@
 	    iInput = NULL;
 	    iCmdId= EMgBlankCmdId;
 	    }
+	// For back to back call support
+	delete this;
+	
 	}