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