harvesterplugins/media/audio/src/mediaplugin.cpp
changeset 17 7d8c8d8f5eab
parent 2 208a4ba3894c
child 19 08315a312857
--- a/harvesterplugins/media/audio/src/mediaplugin.cpp	Tue Jul 06 14:17:22 2010 +0300
+++ b/harvesterplugins/media/audio/src/mediaplugin.cpp	Wed Aug 18 09:49:49 2010 +0300
@@ -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