wlan_bearer/wlanengine/wlan_symbian/wlanengine_symbian_3.1/src/wlangenericplugin.cpp
branchRCL_3
changeset 10 0abc8c98be24
parent 0 c40eb8fe8501
equal deleted inserted replaced
8:e0f767079796 10:0abc8c98be24
     1 /*
     1 /*
     2 * Copyright (c) 2008-2008 Nokia Corporation and/or its subsidiary(-ies).
     2 * Copyright (c) 2008-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".
    13 *
    13 *
    14 * Description:  Class for instantiating Generic WLAN Plugins
    14 * Description:  Class for instantiating Generic WLAN Plugins
    15 *
    15 *
    16 */
    16 */
    17 
    17 
       
    18 /*
       
    19 * %version: 4 %
       
    20 */
    18 
    21 
    19 #include <wlanpluginclient.h>
    22 #include <wlanpluginclient.h>
    20 #include "wlangenericplugin.h"
    23 #include "wlangenericplugin.h"
    21 #include "am_debug.h"
    24 #include "am_debug.h"
    22 
    25 
   163         }
   166         }
   164 
   167 
   165     __UHEAP_MARKEND;
   168     __UHEAP_MARKEND;
   166     
   169     
   167     delete cleanup;
   170     delete cleanup;
       
   171     REComSession::FinalClose();
   168     return KErrNone;
   172     return KErrNone;
   169     }
   173     }
   170 
   174 
   171 // -----------------------------------------------------------------------------
   175 // -----------------------------------------------------------------------------
   172 // CGenericWlanPlugin::LoadGenericWlanPluginL
   176 // CGenericWlanPlugin::LoadGenericWlanPluginL
   205     
   209     
   206     // Delete active scheduler
   210     // Delete active scheduler
   207     CleanupStack::PopAndDestroy(scheduler);
   211     CleanupStack::PopAndDestroy(scheduler);
   208     
   212     
   209     DEBUG("CGenericWlanPlugin::LoadGenericWlanPluginL() - exit");
   213     DEBUG("CGenericWlanPlugin::LoadGenericWlanPluginL() - exit");
   210     User::Exit( KErrNone );
   214     }
   211     }