sysstatemgmt/systemstatemgr/cmd/src/cmdpublishsystemstate.cpp
changeset 44 2c28af138640
parent 0 4e1aa6a622a0
--- a/sysstatemgmt/systemstatemgr/cmd/src/cmdpublishsystemstate.cpp	Fri Jun 11 14:56:08 2010 +0300
+++ b/sysstatemgmt/systemstatemgr/cmd/src/cmdpublishsystemstate.cpp	Wed Jun 23 19:38:32 2010 +0300
@@ -1,4 +1,4 @@
-// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
+// Copyright (c) 2007-2010 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"
@@ -294,6 +294,9 @@
 	if(iConnected)
 		{
 		iDomainManager.CancelTransition();
+		// Close domain manager connection
+		iDomainManager.Close();
+		iConnected = EFalse;
 		}
 	}