equal
deleted
inserted
replaced
131 // We need to cancel the current active operation because it belongs to this session |
131 // We need to cancel the current active operation because it belongs to this session |
132 // |
132 // |
133 // This should complete the request with KErrCancel causing RunL to leave |
133 // This should complete the request with KErrCancel causing RunL to leave |
134 // RunError completes the request and removes the operation from the pending queue |
134 // RunError completes the request and removes the operation from the pending queue |
135 iTaskInterface.TaskCancelCurrent(); |
135 iTaskInterface.TaskCancelCurrent(); |
|
136 |
136 // |
137 // |
137 if (!aCompleteRequest) |
138 // Do not complete the message when the operation completes |
138 iCurrentOperation->ClearMessagePointer(); |
139 // |
|
140 if (!aCompleteRequest) |
|
141 { |
|
142 iCurrentOperation->SetMessageCompletion(aCompleteRequest); |
|
143 } |
139 } |
144 } |
140 else |
145 else |
141 { |
146 { |
142 // The active operation doesn't belong to this session - just remove any relevant operations from the queues |
147 // The active operation doesn't belong to this session - just remove any relevant operations from the queues |
143 // |
148 // |