telephonyserverplugins/common_tsy/commontsy/src/mmpacket/Cmmpacketservicetsy.cpp
branchRCL_3
changeset 21 2492a6e4aed7
parent 16 fe8b59ab9fa0
child 65 630d2f34d719
equal deleted inserted replaced
17:3f227a47ad75 21:2492a6e4aed7
  2480     if ( EMultimodePacketServiceReqHandleUnknown != iReqHandleType )
  2480     if ( EMultimodePacketServiceReqHandleUnknown != iReqHandleType )
  2481         {
  2481         {
  2482         // Reset tsy request handle
  2482         // Reset tsy request handle
  2483         iTsyReqHandleStore->ResetTsyReqHandle( iReqHandleType );
  2483         iTsyReqHandleStore->ResetTsyReqHandle( iReqHandleType );
  2484 
  2484 
  2485         // Complete request with KErrCancel
       
  2486         CMmPacketServiceTsy::ReqCompleted( aTsyReqHandle, KErrCancel );
       
  2487         
       
  2488         // We've finished with this value now. Clear it so it doesn't leak
  2485         // We've finished with this value now. Clear it so it doesn't leak
  2489         //  up to any other instances of this method down the call stack
  2486         //  up to any other instances of this method down the call stack
  2490         iReqHandleType = EMultimodePacketServiceReqHandleUnknown;
  2487         iReqHandleType = EMultimodePacketServiceReqHandleUnknown;
       
  2488 
       
  2489         // Complete request with KErrCancel
       
  2490         CMmPacketServiceTsy::ReqCompleted( aTsyReqHandle, KErrCancel );
  2491         }
  2491         }
  2492 
  2492 
  2493     return ret;
  2493     return ret;
  2494     }
  2494     }
  2495 
  2495