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