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