telephonyserverplugins/common_tsy/commontsy/src/mmtsy/cmmlinetsy.cpp
changeset 69 b982c3e940f3
parent 44 8b72faa1200f
child 73 70d75957b98f
equal deleted inserted replaced
59:ac20d6a0a19d 69:b982c3e940f3
   285     TRAP( trapError, ret = DoExtFuncL( aTsyReqHandle, aIpc, aPackage ); );
   285     TRAP( trapError, ret = DoExtFuncL( aTsyReqHandle, aIpc, aPackage ); );
   286 
   286 
   287     if ( trapError != KErrNone )
   287     if ( trapError != KErrNone )
   288         {
   288         {
   289         // Object cannot be created.
   289         // Object cannot be created.
       
   290 		// Reset request handle to indicate the request is no longer ongoing
       
   291         iTsyReqHandleStore->FindAndResetTsyReqHandle( aTsyReqHandle );
   290         ReqCompleted( aTsyReqHandle, trapError );
   292         ReqCompleted( aTsyReqHandle, trapError );
   291         }
   293         }
   292     else if ( ret != KErrNone )
   294     else if ( ret != KErrNone )
   293         {
   295         {
   294         ReqCompleted( aTsyReqHandle, ret );
   296         ReqCompleted( aTsyReqHandle, ret );
   295         }
   297         }
   296     
   298     else if ( EMultimodeLineReqHandleUnknown != iReqHandleType )
   297     //save request handle
   299         {
   298     if ( EMultimodeLineReqHandleUnknown != iReqHandleType )
   300         //save request handle
   299         {
       
   300         iTsyReqHandleStore->SetTsyReqHandle( iReqHandleType, aTsyReqHandle );
   301         iTsyReqHandleStore->SetTsyReqHandle( iReqHandleType, aTsyReqHandle );
   301         }
   302         }
   302 
   303 
   303     return KErrNone;
   304     return KErrNone;
   304     }
   305     }