1
1

Merge pull request #3933 from hppritcha/topic/fix_s1_bug

pmix/s1: fix problems with ref counting in s1
Этот коммит содержится в:
Howard Pritchard 2017-07-19 07:03:38 -06:00 коммит произвёл GitHub
родитель 71333a4b14 2fa0c4c6ec
Коммит 503de6ca7d

Просмотреть файл

@ -4,6 +4,8 @@
* Copyright (c) 2014-2016 Research Organization for Information Science
* and Technology (RIST). All rights reserved.
* Copyright (c) 2016 Cisco Systems, Inc. All rights reserved.
* Copyright (c) 2017 Los Alamos National Security, LLC. All
* rights reserved.
* $COPYRIGHT$
*
* Additional copyrights may follow
@ -156,6 +158,7 @@ static int s1_init(opal_list_t *ilist)
opal_process_name_t wildcard_rank;
if (0 < pmix_init_count) {
++pmix_init_count;
return OPAL_SUCCESS;
}
@ -446,11 +449,10 @@ static int s1_fini(void) {
if (0 == --pmix_init_count) {
PMI_Finalize ();
// teardown hash table
opal_pmix_base_hash_finalize();
}
// teardown hash table
opal_pmix_base_hash_finalize();
return OPAL_SUCCESS;
}