HomeClusterLabs Projects

Refactor: libstonith: Remove notifications in stonith_api_free()

Description

Refactor: libstonith: Remove notifications in stonith_api_free()

If the API client is connected, remove its notifications before
disconnecting and deleting it. That way the notifications get
unregistered from the fencer in addition to destroying the client's
callback tables.

Signed-off-by: Reid Wahl <nrwahl@protonmail.com>

Details

Provenance
nrwahl2Authored on Oct 27 2022, 5:12 PM
Parents
rP96a1d004c7e8: Refactor: tools: Remove redundant default sections in crm_mon switch
Branches
Unknown
Tags
Unknown