Skip to content

Commit 13e5ee9

Browse files
committed
scr_env: finalize PMIx if we initialized it
1 parent e8d7cf1 commit 13e5ee9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/scr_env.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -291,5 +291,8 @@ int scr_env_init(void)
291291

292292
int scr_env_finalize(void)
293293
{
294+
#ifdef SCR_RESOURCE_MANAGER_PMIX
295+
PMIx_Finalize(NULL, 0);
296+
#endif
294297
return SCR_SUCCESS;
295298
}

0 commit comments

Comments
 (0)