resourcemgmt/hwresourcesmgr/extendedlight/src/HWRMExtendedLightStatusObserver.cpp
branchRCL_3
changeset 20 1ddbe54d0645
parent 0 4e1aa6a622a0
equal deleted inserted replaced
19:94cb00198351 20:1ddbe54d0645
    79     {
    79     {
    80     COMPONENT_TRACE1(_L( "HWRM ExtendedLightClient - CHWRMExtendedLightStatusObserver::~CHWRMExtendedLightStatusObserver()" ));
    80     COMPONENT_TRACE1(_L( "HWRM ExtendedLightClient - CHWRMExtendedLightStatusObserver::~CHWRMExtendedLightStatusObserver()" ));
    81 
    81 
    82     // Cancel property separately, as the following Cancel() call doesn't seem to 
    82     // Cancel property separately, as the following Cancel() call doesn't seem to 
    83     // cause DoCancel to fire.
    83     // cause DoCancel to fire.
    84     iProperty.Cancel();
    84     if( iProperty.Handle() )
       
    85       {
       
    86       iProperty.Cancel();
       
    87       }
    85     
    88     
    86     Cancel();
    89     Cancel();
    87     
    90     
    88     iProperty.Close();
    91     iProperty.Close();
    89     
    92