harvesterplugins/media/audio/src/mediaplugin.cpp
changeset 13 0a2ec6860a93
parent 2 208a4ba3894c
child 19 08315a312857
--- a/harvesterplugins/media/audio/src/mediaplugin.cpp	Tue Jun 29 22:28:37 2010 +0530
+++ b/harvesterplugins/media/audio/src/mediaplugin.cpp	Mon Jul 12 00:27:06 2010 +0530
@@ -88,6 +88,7 @@
 	delete iObjectJobQueueManager;
 	delete iMdsUtils;
 	delete iAudioDocument;
+	iIndexerUtil->UnMountAllDrivesL(_L(MEDIAGENERICAPPCLASS));
 	delete iIndexerUtil;
 	delete iMMcMonitor;
 	delete iDBManager;
@@ -235,7 +236,7 @@
                 CPIXLOGSTRING2("CAudioPlugin::HandleMdeItemL(): Error %d in adding.", err);
                 }
             }
-        else if (aActionType == ECPixUpdateAction)
+        else
             {
             //If DocID for e.g \music\something.mp3 itself changes the we have to compare
             //existing URI with new one and Remove that first and Update to avoid