sysstatemgmt/systemstatemgr/ssm/src/ssmstatetransitionengine.cpp
changeset 45 c6215323ad55
parent 0 4e1aa6a622a0
child 61 8cb079868133
equal deleted inserted replaced
44:2c28af138640 45:c6215323ad55
     1 // Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
     1 // Copyright (c) 2008-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".
   531  #ifdef _DEBUG
   531  #ifdef _DEBUG
   532 void CSsmStateTransitionEngine::CleanupTransitionEngine()
   532 void CSsmStateTransitionEngine::CleanupTransitionEngine()
   533 	{
   533 	{
   534 	iResolver.ReleasePolicyResolver();
   534 	iResolver.ReleasePolicyResolver();
   535 	delete iQueuedTransition;
   535 	delete iQueuedTransition;
       
   536 	iQueuedTransition = NULL;
   536 	delete iCurrentTransition;
   537 	delete iCurrentTransition;
       
   538 	iCurrentTransition = NULL;	
   537 	iCleSession.ReleaseCle();
   539 	iCleSession.ReleaseCle();
   538 	}
   540 	}
   539 #endif
   541 #endif