diff -r 5e4beccba4e9 -r b8bdbc8f59c7 loggingservices/eventlogger/LogServ/src/LogServOperationQueue.cpp --- a/loggingservices/eventlogger/LogServ/src/LogServOperationQueue.cpp Thu Jul 08 12:09:58 2010 +0100 +++ b/loggingservices/eventlogger/LogServ/src/LogServOperationQueue.cpp Thu Aug 12 11:53:23 2010 +0100 @@ -133,9 +133,14 @@ // This should complete the request with KErrCancel causing RunL to leave // RunError completes the request and removes the operation from the pending queue iTaskInterface.TaskCancelCurrent(); + // - if (!aCompleteRequest) - iCurrentOperation->ClearMessagePointer(); + // Do not complete the message when the operation completes + // + if (!aCompleteRequest) + { + iCurrentOperation->SetMessageCompletion(aCompleteRequest); + } } else {