equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2007-2007 Nokia Corporation and/or its subsidiary(-ies). |
2 * Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies). |
3 * All rights reserved. |
3 * All rights reserved. |
4 * This component and the accompanying materials are made available |
4 * This component and the accompanying materials are made available |
5 * under the terms of "Eclipse Public License v1.0" |
5 * under the terms of "Eclipse Public License v1.0" |
6 * which accompanies this distribution, and is available |
6 * which accompanies this distribution, and is available |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
250 // Delete SNAP only if itīs not Internet SNAP. |
250 // Delete SNAP only if itīs not Internet SNAP. |
251 TUint32 internetSnapId( KErrNone ); |
251 TUint32 internetSnapId( KErrNone ); |
252 internetSnapId = dest.MetadataL( CMManager::ESnapMetadataInternet ); |
252 internetSnapId = dest.MetadataL( CMManager::ESnapMetadataInternet ); |
253 if( internetSnapId == KErrNone ) |
253 if( internetSnapId == KErrNone ) |
254 { |
254 { |
255 dest.DeleteLD(); |
255 // May leave if some connection method inside SNAP is in use |
|
256 TRAP_IGNORE( dest.DeleteLD() ); |
256 } |
257 } |
257 |
258 |
258 CleanupStack::PopAndDestroy( &dest ); |
259 CleanupStack::PopAndDestroy( &dest ); |
259 CleanupStack::PopAndDestroy( &manager ); |
260 CleanupStack::PopAndDestroy( &manager ); |
260 |
261 |