Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • L libksysguard
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Bugzilla
    • Bugzilla
  • Merge requests 8
    • Merge requests 8
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • PlasmaPlasma
  • libksysguard
  • Merge requests
  • !210

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

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Arjen Hiemstra requested to merge work/ahiemstra/initialsensor into master Jan 27, 2022
  • Overview 0
  • Commits 3
  • Pipelines 4
  • Changes 7

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

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: work/ahiemstra/initialsensor