--- a/telephonyserverplugins/common_tsy/commontsy/src/mmcustomtsy/CMmCustomTsy.cpp Thu Sep 02 21:42:07 2010 +0300
+++ b/telephonyserverplugins/common_tsy/commontsy/src/mmcustomtsy/CMmCustomTsy.cpp Mon Oct 04 02:16:52 2010 +0300
@@ -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