--- a/imagehandlingutilities/thumbnailmanager/thumbagdaemon/src/thumbagprocessor.cpp Tue May 25 13:01:47 2010 +0300
+++ b/imagehandlingutilities/thumbnailmanager/thumbagdaemon/src/thumbagprocessor.cpp Wed Jun 09 10:01:32 2010 +0300
@@ -95,12 +95,6 @@
iActivityManager = CTMActivityManager::NewL( this, KBackgroundGenerationIdle);
UpdatePSValues(ETrue);
-
- if(iForegroundGenerationObserver)
- {
- delete iForegroundGenerationObserver;
- iForegroundGenerationObserver = NULL;
- }
RProperty::Define(KTAGDPSNotification, KMPXHarvesting, RProperty::EInt);
@@ -167,6 +161,12 @@
iForegroundGenerationObserver = NULL;
}
+ if(iFormatObserver)
+ {
+ delete iFormatObserver;
+ iFormatObserver = NULL;
+ }
+
if ( iCollectionUtility )
{
iCollectionUtility->Close();
@@ -188,8 +188,6 @@
iTMSession = NULL;
}
- delete iFormatObserver;
-
TN_DEBUG1( "CThumbAGProcessor::~CThumbAGProcessor() - end" );
}