Skip to content

Commit 8eac6d8

Browse files
authored
Merge pull request #5138 from hjelmn/v3.1.x_mtl_fix
mtl: reset ompi_mtl_base_selected_component on framework close
2 parents 638c949 + 97d3fc7 commit 8eac6d8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ompi/mca/mtl/base/mtl_base_frame.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
* University of Stuttgart. All rights reserved.
1111
* Copyright (c) 2004-2006 The Regents of the University of California.
1212
* All rights reserved.
13-
* Copyright (c) 2015 Los Alamos National Security, LLC. All rights
13+
* Copyright (c) 2015-2018 Los Alamos National Security, LLC. All rights
1414
* reserved.
1515
* $COPYRIGHT$
1616
*
@@ -108,6 +108,7 @@ ompi_mtl_base_close(void)
108108
{
109109
/* NTH: Should we be freeing the mtl module here? */
110110
ompi_mtl = NULL;
111+
ompi_mtl_base_selected_component = NULL;
111112

112113
/* Close all remaining available modules (may be one if this is a
113114
OMPI RTE program, or [possibly] multiple if this is ompi_info) */

0 commit comments

Comments
 (0)