diff -r b790c5b3d11f -r a67f74060682 imagehandlingutilities/thumbnailmanager/thumbagdaemon/src/thumbagdaemon.cpp --- a/imagehandlingutilities/thumbnailmanager/thumbagdaemon/src/thumbagdaemon.cpp Fri May 14 16:10:12 2010 +0300 +++ b/imagehandlingutilities/thumbnailmanager/thumbagdaemon/src/thumbagdaemon.cpp Thu May 27 13:11:20 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) {