diff -r 0ca79e3612d9 -r 9ba7f05d28a5 connectivitymodules/SeCon/services/pcd/src/sconinstqueue.cpp --- a/connectivitymodules/SeCon/services/pcd/src/sconinstqueue.cpp Wed Jun 23 18:02:53 2010 +0300 +++ b/connectivitymodules/SeCon/services/pcd/src/sconinstqueue.cpp Tue Jul 06 14:06:02 2010 +0300 @@ -1,5 +1,5 @@ /* -* Copyright (c) 2005-2008 Nokia Corporation and/or its subsidiary(-ies). +* Copyright (c) 2005-2009 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" @@ -48,6 +48,7 @@ // CSConInstallerQueue::CSConInstallerQueue( RFs& aFs ) : CActive( EPriorityStandard ), iFs( aFs ) { + CActiveScheduler::Add( this ); } // ----------------------------------------------------------------------------- @@ -58,8 +59,7 @@ void CSConInstallerQueue::ConstructL() { TRACE_FUNC_ENTRY; - iInstaller = new (ELeave) CSConAppInstaller( this, iFs ); - CActiveScheduler::Add( iInstaller ); + iInstaller = CSConAppInstaller::NewL( this, iFs ); User::LeaveIfError( iTimer.CreateLocal() ); TRACE_FUNC_EXIT; } @@ -151,7 +151,7 @@ // void CSConInstallerQueue::PollQueue() { - TRACE_FUNC_ENTRY; + TRACE_FUNC; // find and start next task if installer and BR is inactive if( !iInstaller->InstallerActive() && !iBRQueueAddress->QueueProcessActive() ) @@ -168,7 +168,6 @@ } } } - TRACE_FUNC_EXIT; } // -----------------------------------------------------------------------------