--- a/telephonyserverplugins/common_tsy/commontsy/src/mmcustomtsy/CMmCustomTsy.cpp Tue Sep 14 23:33:57 2010 +0300
+++ b/telephonyserverplugins/common_tsy/commontsy/src/mmcustomtsy/CMmCustomTsy.cpp Wed Sep 15 13:30:43 2010 +0300
@@ -1,4 +1,4 @@
-// Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
+// Copyright (c) 2006-2010 Nokia Corporation and/or its subsidiary(-ies).
// All rights reserved.
// This component and the accompanying materials are made available
// under the terms of "Eclipse Public License v1.0"
@@ -225,9 +225,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 );
}
@@ -6909,4 +6910,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