HomeClusterLabs Projects

Refactor: controller: don't stop election timer for nonexistent election

Description

Refactor: controller: don't stop election timer for nonexistent election

Previously, at exit, the controller would free and NULL the election object,
then (needlessly though harmlessly) attempt to stop its timer. Calling
election_fini() to free the election object will stop the timer if necessary.

Details

Provenance
kgaillotAuthored on Sep 21 2018, 8:23 PM
Parents
rPb5988477df65: Log: controller: improve election messages
Branches
Unknown
Tags
Unknown

Event Timeline