File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 4
4
* Copyright (c) 2014-2016 Research Organization for Information Science
5
5
* and Technology (RIST). All rights reserved.
6
6
* Copyright (c) 2016 Cisco Systems, Inc. All rights reserved.
7
+ * Copyright (c) 2017 Los Alamos National Security, LLC. All
8
+ * rights reserved.
7
9
* $COPYRIGHT$
8
10
*
9
11
* Additional copyrights may follow
@@ -156,6 +158,7 @@ static int s1_init(opal_list_t *ilist)
156
158
opal_process_name_t wildcard_rank ;
157
159
158
160
if (0 < pmix_init_count ) {
161
+ ++ pmix_init_count ;
159
162
return OPAL_SUCCESS ;
160
163
}
161
164
@@ -446,11 +449,10 @@ static int s1_fini(void) {
446
449
447
450
if (0 == -- pmix_init_count ) {
448
451
PMI_Finalize ();
452
+ // teardown hash table
453
+ opal_pmix_base_hash_finalize ();
449
454
}
450
455
451
- // teardown hash table
452
- opal_pmix_base_hash_finalize ();
453
-
454
456
return OPAL_SUCCESS ;
455
457
}
456
458
You can’t perform that action at this time.
0 commit comments