--- a/imagehandlingutilities/thumbnailmanager/thumbagdaemon/src/thumbagdaemon.cpp Tue May 11 16:30:11 2010 +0300
+++ b/imagehandlingutilities/thumbnailmanager/thumbagdaemon/src/thumbagdaemon.cpp Tue May 25 13:01:47 2010 +0300
@@ -147,6 +147,7 @@
}
iMdESession = CMdESession::NewL( *this );
+ iSessionError = EFalse;
}
else
{
@@ -280,8 +281,10 @@
void CThumbAGDaemon::HandleSessionError( CMdESession& /*aSession*/, TInt aError )
{
TN_DEBUG2( "CThumbAGDaemon::HandleSessionError == %d", aError );
- if (aError != KErrNone)
+ if (aError != KErrNone && !iSessionError)
{
+ iSessionError = ETrue;
+
// kill processor right away, because it also has MdESession
if(iProcessor)
{