Skip to content

Commit 3aa131a

Browse files
author
Ralph Castain
authored
Merge pull request #3746 from rhc54/topic/grr
Also need to avoid calling destruct on the opal_process_info struct after finalize
2 parents c27e277 + 168e50b commit 3aa131a

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

orte/runtime/orte_finalize.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@
3939
#include "orte/runtime/orte_locks.h"
4040
#include "orte/util/listener.h"
4141
#include "orte/util/name_fns.h"
42+
#include "orte/util/proc_info.h"
4243
#include "orte/util/show_help.h"
4344

4445
int orte_finalize(void)
@@ -91,6 +92,9 @@ int orte_finalize(void)
9192
opal_argv_free(orte_fork_agent);
9293
}
9394

95+
/* destruct our process info */
96+
OBJ_DESTRUCT(&orte_process_info.super);
97+
9498
/* finalize the opal utilities */
9599
rc = opal_finalize();
96100

orte/util/proc_info.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -326,8 +326,6 @@ int orte_proc_info_finalize(void)
326326

327327
orte_process_info.proc_type = ORTE_PROC_TYPE_NONE;
328328

329-
OBJ_DESTRUCT(&orte_process_info.super);
330-
331329
opal_argv_free(orte_process_info.aliases);
332330

333331
init = false;

0 commit comments

Comments
 (0)