--- a/telephonyserverplugins/common_tsy/commontsy/src/mmtsy/cmmphonetsy.cpp Tue Sep 14 23:33:57 2010 +0300
+++ b/telephonyserverplugins/common_tsy/commontsy/src/mmtsy/cmmphonetsy.cpp Wed Sep 15 13:30:43 2010 +0300
@@ -1153,14 +1153,15 @@
if ( trapError != KErrNone )
{
+ //reset request handle to indicate the request is no longer ongoing
+ iTsyReqHandleStore->FindAndResetTsyReqHandle( aTsyReqHandle );
ReqCompleted( aTsyReqHandle, trapError );
}
else if ( ret != KErrNone )
{
ReqCompleted( aTsyReqHandle, ret );
}
-
- if ( EMultimodePhoneReqHandleUnknown != iReqHandleType )
+ else if ( EMultimodePhoneReqHandleUnknown != iReqHandleType )
{
#ifdef REQHANDLE_TIMER
SetTypeOfResponse( iReqHandleType, aTsyReqHandle );
@@ -1168,10 +1169,10 @@
iTsyReqHandleStore->SetTsyReqHandle(
iReqHandleType, aTsyReqHandle );
#endif //REQHANDLE_TIMER
- // We've finished with this value now. Clear it so it doesn't leak
- // up to any other instances of this method down the call stack
- iReqHandleType = EMultimodePhoneReqHandleUnknown;
}
+ // We've finished with this value now. Clear it so it doesn't leak
+ // up to any other instances of this method down the call stack
+ iReqHandleType = EMultimodePhoneReqHandleUnknown;
}
return KErrNone;