summaryrefslogtreecommitdiffstats
path: root/src/H5.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@koziol.gov>2020-03-20 20:50:24 (GMT)
committerQuincey Koziol <koziol@koziol.gov>2020-03-20 20:50:24 (GMT)
commit66350c3356876d590ba250e75fd8d68a66af76f9 (patch)
tree2e8ef51bc48ffd484a8daadc4cce77c48b70dc52 /src/H5.c
parentae5f556415d9dccd4005299cd0e9683dafdeda68 (diff)
parent26fecb8c5a444c64106c36750addfc9d71338c1d (diff)
downloadhdf5-66350c3356876d590ba250e75fd8d68a66af76f9.zip
hdf5-66350c3356876d590ba250e75fd8d68a66af76f9.tar.gz
hdf5-66350c3356876d590ba250e75fd8d68a66af76f9.tar.bz2
Merge remote-tracking branch 'origin/develop' into alloc_stats
Diffstat (limited to 'src/H5.c')
-rw-r--r--src/H5.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/H5.c b/src/H5.c
index 7853038..bfb0f28 100644
--- a/src/H5.c
+++ b/src/H5.c
@@ -355,7 +355,9 @@ H5_term_library(void)
pending += DOWN(Z);
pending += DOWN(FD);
pending += DOWN(VL);
- pending += DOWN(PL);
+ /* Don't shut down the plugin code until all "pluggable" interfaces (Z, FD, PL) are shut down */
+ if(pending == 0)
+ pending += DOWN(PL);
/* Don't shut down the error code until other APIs which use it are shut down */
if(pending == 0)
pending += DOWN(E);