telephonyserverplugins/common_tsy/commontsy/src/mmcustomtsy/CMmCustomTsy.cpp
changeset 69 b982c3e940f3
parent 44 8b72faa1200f
child 73 70d75957b98f
equal deleted inserted replaced
59:ac20d6a0a19d 69:b982c3e940f3
   228         TRAP( trapError, ret = DoExtFuncL( aTsyReqHandle, aIpc, aPackage ); );
   228         TRAP( trapError, ret = DoExtFuncL( aTsyReqHandle, aIpc, aPackage ); );
   229 
   229 
   230         if ( KErrNone != trapError )
   230         if ( KErrNone != trapError )
   231             {
   231             {
   232             // error handling. Object cannot be created.
   232             // error handling. Object cannot be created.
   233             ret = trapError;
   233             ResetReqHandle(aTsyReqHandle, aIpc);
   234             }
   234 		    ret = trapError;            
   235         if ( KErrNone != ret )
   235 			}
       
   236       	if ( KErrNone != ret )
   236             {
   237             {
   237             ReqCompleted( aTsyReqHandle, ret );
   238             ReqCompleted( aTsyReqHandle, ret );
   238             }
   239             }
   239         }
   240         }
   240 
   241 
  6912         }
  6913         }
  6913 
  6914 
  6914     return KErrNone;
  6915     return KErrNone;
  6915     }
  6916     }
  6916 
  6917 
       
  6918 TBool CMmCustomTsy::ResetReqHandle( const TTsyReqHandle aTsyReqHandle, TInt aIpc )
       
  6919     {
       
  6920     TBool ret = CMmTsyBase::ResetReqHandle(aTsyReqHandle, aIpc);
       
  6921     if(!ret)
       
  6922         {
       
  6923         ret = iTsyReqHandleStore->FindAndResetTsyReqHandle( aTsyReqHandle );
       
  6924         }
       
  6925     return ret;
       
  6926     }
       
  6927     
       
  6928 
  6917 //  End of File
  6929 //  End of File