Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions opal/mca/pmix/flux/pmix_flux.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */
/*
* Copyright (c) 2014-2017 Intel, Inc. All rights reserved.
* Copyright (c) 2014-2019 Intel, Inc. All rights reserved.
* Copyright (c) 2014-2016 Research Organization for Information Science
* and Technology (RIST). All rights reserved.
* Copyright (c) 2016 Cisco Systems, Inc. All rights reserved.
Expand Down Expand Up @@ -373,6 +373,7 @@ static int flux_init(opal_list_t *ilist)
char *str;

if (0 < pmix_init_count) {
pmix_init_count++;
return OPAL_SUCCESS;
}

Expand Down Expand Up @@ -585,11 +586,10 @@ static int flux_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;
}

Expand Down