1
1

Merge pull request #2632 from rhc54/topic/updates

Transfer some minor cleanups back from the PMIx reference server
Этот коммит содержится в:
rhc54 2016-12-23 12:49:33 -08:00 коммит произвёл GitHub
родитель 19e3be31e5 ef3f748d0d
Коммит 67a08e825e
3 изменённых файлов: 7 добавлений и 1 удалений

Просмотреть файл

@ -928,6 +928,7 @@ void orte_state_base_check_all_complete(int fd, short args, void *cbdata)
/* this was a debugger daemon. notify that a debugger has detached */ /* this was a debugger daemon. notify that a debugger has detached */
ORTE_ACTIVATE_JOB_STATE(jdata, ORTE_JOB_STATE_DEBUGGER_DETACH); ORTE_ACTIVATE_JOB_STATE(jdata, ORTE_JOB_STATE_DEBUGGER_DETACH);
} }
opal_hash_table_set_value_uint32(orte_job_data, jdata->jobid, NULL);
OBJ_RELEASE(jdata); OBJ_RELEASE(jdata);
} }
} }

Просмотреть файл

@ -457,5 +457,10 @@ static void check_complete(int fd, short args, void *cbdata)
static void cleanup_job(int sd, short args, void *cbdata) static void cleanup_job(int sd, short args, void *cbdata)
{ {
orte_state_caddy_t *caddy = (orte_state_caddy_t*)cbdata; orte_state_caddy_t *caddy = (orte_state_caddy_t*)cbdata;
orte_job_t *jdata = caddy->jdata;
/* remove this object from the job array */
opal_hash_table_set_value_uint32(orte_job_data, jdata->jobid, NULL);
OBJ_RELEASE(caddy); OBJ_RELEASE(caddy);
} }

Просмотреть файл

@ -477,6 +477,7 @@ static void send_callback(int status, orte_process_name_t *peer,
OBJ_RELEASE(buffer); OBJ_RELEASE(buffer);
/* cleanup the job object */ /* cleanup the job object */
opal_hash_table_set_value_uint32(orte_job_data, jdata->jobid, NULL);
OBJ_RELEASE(jdata); OBJ_RELEASE(jdata);
} }
@ -530,4 +531,3 @@ static void notify_requestor(int sd, short args, void *cbdata)
* up in the send callback */ * up in the send callback */
OBJ_RELEASE(caddy); OBJ_RELEASE(caddy);
} }