Skip to content

Commit 1df4457

Browse files
author
rhc54
committed
Merge pull request #1392 from rhc54/topic/dvm
Tools don't create the orte_job_data table, so don't remove jobs from it
2 parents 64b7728 + 77f800b commit 1df4457

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

orte/runtime/orte_globals.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -717,7 +717,7 @@ static void orte_job_destruct(orte_job_t* job)
717717
/* release the attributes */
718718
OPAL_LIST_DESTRUCT(&job->attributes);
719719

720-
if (ORTE_JOBID_INVALID != job->jobid) {
720+
if (NULL != orte_job_data && ORTE_JOBID_INVALID != job->jobid) {
721721
/* remove the job from the global array */
722722
opal_hash_table_remove_value_uint32(orte_job_data, job->jobid);
723723
}

0 commit comments

Comments
 (0)