Skip to content
Commit 95302199 authored by Arjen Hiemstra's avatar Arjen Hiemstra
Browse files

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

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


(cherry picked from commit f2a09fc6)
parent 88075dc2
Pipeline #131623 passed with stage
in 1 minute and 23 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment