resourcemgmt/hwresourcesmgr/extendedlight/src/HWRMExtendedLightStatusObserver.cpp
changeset 50 48a00b70dc49
parent 0 4e1aa6a622a0
--- a/resourcemgmt/hwresourcesmgr/extendedlight/src/HWRMExtendedLightStatusObserver.cpp	Fri Jul 16 11:04:43 2010 +0300
+++ b/resourcemgmt/hwresourcesmgr/extendedlight/src/HWRMExtendedLightStatusObserver.cpp	Fri Jul 30 10:34:49 2010 +0300
@@ -81,7 +81,10 @@
 
     // Cancel property separately, as the following Cancel() call doesn't seem to 
     // cause DoCancel to fire.
-    iProperty.Cancel();
+    if( iProperty.Handle() )
+      {
+      iProperty.Cancel();
+      }
     
     Cancel();