Skip to content

Check initial value is valid before resetting in SensorProperty::unsubscribe

Arjen Hiemstra requested to merge work/ahiemstra/initialsensor into master

This way, we only reset the value if we originally got a valid value. This allows us to indicate what behaviour we want when constructing the SensorProperty. Some documentation has been added about that to the relevant constructor.

CCBUG: 446414

Merge request reports

Loading