Terminate a connection to the cpg service
#include <corosync/cpg.h>
int cpg_finalize(cpg_handle_t handle);
The cpg_finalize function is used to close a connection to the closed process group API. Once the connection is finalized, the handle may not be used again by applications. No more callbacks will be dispatched from the cpg_dispatch function.
This call returns the CPG_OK value if successful, otherwise an error is returned.
The errors are undocumented.