diff -r 85a88bc05e45 -r ffb2d5dd62e9 imagehandlingutilities/thumbnailmanager/thumbnailclient/src/thumbnailrequestqueue.cpp --- a/imagehandlingutilities/thumbnailmanager/thumbnailclient/src/thumbnailrequestqueue.cpp Tue Apr 27 16:57:55 2010 +0300 +++ b/imagehandlingutilities/thumbnailmanager/thumbnailclient/src/thumbnailrequestqueue.cpp Tue May 11 16:30:11 2010 +0300 @@ -188,19 +188,10 @@ CThumbnailRequestActive* request = iRequests[i]; if ( request->RequestId() == aRequestId ) { - // Cancel and remove from queue if (iRequests[i]->IsActive()) { - iRequests[i]->Cancel(); - - iActiveRequests--; - if(iActiveRequests <= -1) - { - iActiveRequests = 0; - } - - delete request; - iRequests.Remove( i ); + // this doesn't yet actually cancel/complete the AO + iRequests[i]->AsyncCancel(); TN_DEBUG2( "CThumbnailRequestQueue::CancelRequest() - canceled request ID: %d", aRequestId); }