File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -750,14 +750,14 @@ static int request_completion_cb(ompi_request_t *request)
750750
751751 int32_t failed_tmp = 0 ;
752752 if (request -> req_status .MPI_ERROR == MPI_SUCCESS ) {
753- if (NULL != cont -> cont_opreqs ) {
754- cont -> cont_opreqs [req_cont_data -> cont_idx ] = MPI_REQUEST_NULL ;
755- }
756753
757754 /* inactivate / free the request */
758755 if (request -> req_persistent ) {
759756 request -> req_state = OMPI_REQUEST_INACTIVE ;
760757 } else {
758+ if (NULL != cont -> cont_opreqs ) {
759+ cont -> cont_opreqs [req_cont_data -> cont_idx ] = MPI_REQUEST_NULL ;
760+ }
761761 /* wait for any thread in the failure handler to complete handling the requests */
762762 while (cont -> cont_request_check ) {}
763763 /* we own the request so release it and let the caller know */
You can’t perform that action at this time.
0 commit comments