genericservices/taskscheduler/SCHSVR/SchTimer.cpp
branchRCL_3
changeset 64 c44f36bb61a3
parent 0 e4d67989cc36
child 75 254b651f304e
--- a/genericservices/taskscheduler/SCHSVR/SchTimer.cpp	Wed Sep 15 00:31:55 2010 +0300
+++ b/genericservices/taskscheduler/SCHSVR/SchTimer.cpp	Wed Sep 15 14:02:55 2010 +0300
@@ -404,6 +404,7 @@
 CPropertyNotifier::~CPropertyNotifier()
 	{
 	Cancel();
+	iProperty.Close();
 	}
 
 void CPropertyNotifier::AttachL()
@@ -416,7 +417,10 @@
 void CPropertyNotifier::SetPropertyL(const TUid& aCategory, TUint aKey)
 	{
 	if (IsActive())
+	    {
 		Cancel();
+		iProperty.Close();
+	    }
 	iCategory = aCategory;
 	iKey = aKey;
 	AttachL();