equal
deleted
inserted
replaced
1 // Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies). |
1 // Copyright (c) 2006-2010 Nokia Corporation and/or its subsidiary(-ies). |
2 // All rights reserved. |
2 // All rights reserved. |
3 // This component and the accompanying materials are made available |
3 // This component and the accompanying materials are made available |
4 // under the terms of "Eclipse Public License v1.0" |
4 // under the terms of "Eclipse Public License v1.0" |
5 // which accompanies this distribution, and is available |
5 // which accompanies this distribution, and is available |
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
138 // Original code continues here. |
138 // Original code continues here. |
139 TRAP( trapError, ret = DoExtFuncL( aTsyReqHandle, aIpc, aPackage ); ); |
139 TRAP( trapError, ret = DoExtFuncL( aTsyReqHandle, aIpc, aPackage ); ); |
140 |
140 |
141 if ( trapError != KErrNone ) |
141 if ( trapError != KErrNone ) |
142 { |
142 { |
143 // Object cannot be created. |
143 // Object cannot be created. |
|
144 //reset request handle to indicate the request is no longer ongoing |
|
145 iTsyReqHandleStore->FindAndResetTsyReqHandle(aTsyReqHandle); |
144 ReqCompleted( aTsyReqHandle, trapError ); |
146 ReqCompleted( aTsyReqHandle, trapError ); |
145 } |
147 } |
146 else if ( ret != KErrNone ) |
148 else if ( ret != KErrNone ) |
147 { |
149 { |
148 ReqCompleted( aTsyReqHandle, ret ); |
150 ReqCompleted( aTsyReqHandle, ret ); |