equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies). |
2 * Copyright (c) 2004-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 the License "Eclipse Public License v1.0" |
5 * under the terms of the License "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". |
319 CBulkOnlyTransportUsbcScLdd::~CBulkOnlyTransportUsbcScLdd() |
319 CBulkOnlyTransportUsbcScLdd::~CBulkOnlyTransportUsbcScLdd() |
320 { |
320 { |
321 __FNLOG("CBulkOnlyTransportUsbcScLdd::~CBulkOnlyTransportUsbcScLdd"); |
321 __FNLOG("CBulkOnlyTransportUsbcScLdd::~CBulkOnlyTransportUsbcScLdd"); |
322 if (iInterfaceConfigured) |
322 if (iInterfaceConfigured) |
323 { |
323 { |
|
324 Stop(); |
324 TInt err = iSCReadEndpointBuf.Close(); |
325 TInt err = iSCReadEndpointBuf.Close(); |
325 err = iSCWriteEndpointBuf.Close(); |
326 err = iSCWriteEndpointBuf.Close(); |
326 delete iControlInterface ; |
327 delete iControlInterface ; |
327 delete iDeviceStateNotifier; |
328 delete iDeviceStateNotifier; |
328 delete iChunk; |
329 delete iChunk; |