--- a/harvester/monitorplugins/mmcplugin/src/mmcmounttaskao.cpp Fri Mar 12 15:44:28 2010 +0200
+++ b/harvester/monitorplugins/mmcplugin/src/mmcmounttaskao.cpp Mon Mar 15 12:42:24 2010 +0200
@@ -72,8 +72,11 @@
iFs.Close();
iMountDataQueue.ResetAndDestroy();
+ iMountDataQueue.Close();
iEntryArray.ResetAndDestroy();
+ iEntryArray.Close();
iHarvestEntryArray.ResetAndDestroy();
+ iHarvestEntryArray.Close();
delete iMdeSession;
@@ -126,7 +129,6 @@
{
Cancel();
Deinitialize();
- iNextRequest = ERequestIdle;
}
}
@@ -188,7 +190,6 @@
}
else
{
- SetPriority( KHarvesterCustomImportantPriority );
SetNextRequest( ERequestIdle );
iMountDataQueue.Compress();
}
@@ -349,7 +350,6 @@
WRITELOG( "CMMCMountTaskAO::RunL - ERequestCleanup" );
TBool present = (iMountData->iMountType == TMountData::EMount);
iMdeSession->SetMediaL( iMountData->iMediaID, iMountData->iDrivePath[0], present );
- SetPriority( KHarvesterCustomImportantPriority );
Deinitialize();
SetNextRequest( ERequestStartTask );
}