resourcemgmt/hwresourcesmgr/extendedlight/src/HWRMExtendedLightStatusObserver.cpp
equal
deleted
inserted
replaced
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 |