Skip to content

Multiple commits#3792

Merged
rhc54 merged 2 commits intoopenpmix:v6.1from
rhc54:cmr61/up
Feb 3, 2026
Merged

Multiple commits#3792
rhc54 merged 2 commits intoopenpmix:v6.1from
rhc54:cmr61/up

Conversation

@rhc54
Copy link
Contributor

@rhc54 rhc54 commented Feb 3, 2026

Cleanup inii/finalize cycle

Reset variables to NULL after free. Finalize the event
library so it can clean up. Always destroy the topology
because hwloc does the right thing for shmem under the
covers.

Signed-off-by: Ralph Castain rhc@pmix.org
(cherry picked from commit cfa4a2c)

Do not shutdown libevent during finalize

We cannot know who else might be using the libevent
library, and the libevent shutdown routine shuts down
the entire library. So we have no choice but to go
ahead and leak the few bytes of memory libevent holds
until shutdown in the case where we truly are the
only one using it.

Signed-off-by: Ralph Castain rhc@pmix.org
(cherry picked from commit 05590e1)

rhc54 added 2 commits February 3, 2026 07:47
Reset variables to NULL after free. Finalize the event
library so it can clean up. Always destroy the topology
because hwloc does the right thing for shmem under the
covers.

Signed-off-by: Ralph Castain <rhc@pmix.org>
(cherry picked from commit cfa4a2c)
We cannot know who else might be using the libevent
library, and the libevent shutdown routine shuts down
the entire library. So we have no choice but to go
ahead and leak the few bytes of memory libevent holds
until shutdown in the case where we truly are the
only one using it.

Signed-off-by: Ralph Castain <rhc@pmix.org>
(cherry picked from commit 05590e1)
@rhc54 rhc54 merged commit 71d3155 into openpmix:v6.1 Feb 3, 2026
26 checks passed
@rhc54 rhc54 deleted the cmr61/up branch February 3, 2026 15:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant