We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 14f27ff + 2359a05 commit 2b7fbb3Copy full SHA for 2b7fbb3
ompi/dpm/dpm.c
@@ -1779,6 +1779,7 @@ int ompi_dpm_dyn_finalize(void)
1779
}
1780
1781
disconnect_waitall(ompi_comm_num_dyncomm, objs);
1782
+ cleanup_dpm_disconnect_objs(objs, ompi_comm_num_dyncomm);
1783
1784
1785
return OMPI_SUCCESS;
@@ -1896,8 +1897,6 @@ static int disconnect_waitall (int count, ompi_dpm_disconnect_obj **objs)
1896
1897
/* force all non-blocking all-to-alls to finish */
1898
ret = ompi_request_wait_all(2*totalcount, reqs, MPI_STATUSES_IGNORE);
1899
- /* Finally, free everything */
1900
- cleanup_dpm_disconnect_objs(objs, count);
1901
free(reqs);
1902
1903
return ret;
0 commit comments