diff -r ac20d6a0a19d -r b982c3e940f3 telephonyserverplugins/common_tsy/commontsy/src/mmcustomtsy/CMmCustomTsy.cpp --- a/telephonyserverplugins/common_tsy/commontsy/src/mmcustomtsy/CMmCustomTsy.cpp Mon Aug 09 17:43:08 2010 +0100 +++ b/telephonyserverplugins/common_tsy/commontsy/src/mmcustomtsy/CMmCustomTsy.cpp Tue Sep 14 17:55:14 2010 +0100 @@ -230,9 +230,10 @@ if ( KErrNone != trapError ) { // error handling. Object cannot be created. - ret = trapError; - } - if ( KErrNone != ret ) + ResetReqHandle(aTsyReqHandle, aIpc); + ret = trapError; + } + if ( KErrNone != ret ) { ReqCompleted( aTsyReqHandle, ret ); } @@ -6914,4 +6915,15 @@ return KErrNone; } +TBool CMmCustomTsy::ResetReqHandle( const TTsyReqHandle aTsyReqHandle, TInt aIpc ) + { + TBool ret = CMmTsyBase::ResetReqHandle(aTsyReqHandle, aIpc); + if(!ret) + { + ret = iTsyReqHandleStore->FindAndResetTsyReqHandle( aTsyReqHandle ); + } + return ret; + } + + // End of File