imagehandlingutilities/thumbnailmanager/thumbnailclient/src/thumbnailrequestactive.cpp
--- a/imagehandlingutilities/thumbnailmanager/thumbnailclient/src/thumbnailrequestactive.cpp Wed Apr 14 16:16:51 2010 +0300
+++ b/imagehandlingutilities/thumbnailmanager/thumbnailclient/src/thumbnailrequestactive.cpp Tue Apr 27 16:57:55 2010 +0300
@@ -843,8 +843,16 @@
CThumbnailRequestActive* self = static_cast<CThumbnailRequestActive*>( aAny );
+ self->iTimer->Cancel();
+
+ if (self->IsActive())
+ {
+ // hangs without this
+ TRequestStatus* statusPtr = &self->iStatus;
+ User::RequestComplete( statusPtr, KErrTimedOut );
+ }
+
self->Cancel();
- self->iTimer->Cancel();
if (self->iStartError != KErrNone)
{
@@ -857,6 +865,8 @@
self->HandleError();
+ TN_DEBUG1( "CThumbnailRequestActive::TimerCallBack() - end");
+
return KErrNone;
}