1
1

Ensure we always cleanup local procs, no matter how we exited.

This commit was SVN r26454.
Этот коммит содержится в:
Ralph Castain 2012-05-18 23:37:40 +00:00
родитель 12ebc0e269
Коммит a526afae92
2 изменённых файлов: 6 добавлений и 0 удалений
orte
orted
tools/orterun

@ -729,6 +729,9 @@ int orte_daemon(int argc, char *argv[])
opal_event_loop(orte_event_base, OPAL_EVLOOP_ONCE);
}
/* ensure all local procs are dead */
orte_odls.kill_local_procs(NULL);
DONE:
/* update the exit status, in case it wasn't done */
ORTE_UPDATE_EXIT_STATUS(orte_exit_status);

@ -930,6 +930,9 @@ int orterun(int argc, char *argv[])
opal_event_loop(orte_event_base, OPAL_EVLOOP_ONCE);
}
/* ensure all local procs are dead */
orte_odls.kill_local_procs(NULL);
DONE:
/* cleanup and leave */
orte_finalize();