--- a/loggingservices/eventlogger/LogServ/src/LogServOperationQueue.cpp Wed Aug 18 11:30:17 2010 +0300
+++ b/loggingservices/eventlogger/LogServ/src/LogServOperationQueue.cpp Thu Sep 02 22:18:45 2010 +0300
@@ -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
{