simpledatamodeladapter/src/presencepluginpublisher.cpp
branchRCL_3
changeset 18 52d91a16fec3
parent 7 895b8e06c769
--- a/simpledatamodeladapter/src/presencepluginpublisher.cpp	Tue Apr 27 17:03:39 2010 +0300
+++ b/simpledatamodeladapter/src/presencepluginpublisher.cpp	Tue May 11 16:35:18 2010 +0300
@@ -1,5 +1,5 @@
 /*
-* Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies).
+* Copyright (c) 2006-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"
@@ -123,6 +123,7 @@
         }
          
     DeleteWatchers();
+    iClientStatus = NULL;
     }
 
 // ---------------------------------------------------------------------------
@@ -575,6 +576,7 @@
     DP_SDA("CPresencePluginPublisher::DoCancel CANCEL");
     iXdmUtils->Cancel();
     iPublisher->Close();
+    iPublisher = NULL;
     }
 
 // ---------------------------------------------------------------------------