summaryrefslogtreecommitdiffstats
path: root/src/H5.c
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2020-03-18 22:07:37 (GMT)
committerDana Robinson <derobins@hdfgroup.org>2020-03-18 22:07:37 (GMT)
commiteecddd9f3e80c2d00235e289653a0adbe44136d9 (patch)
treee79ccbbdb27a932bf75471471ed1fe4deffcf631 /src/H5.c
parent9c93c1bb00d4325867288b3811a6bb4907a51dde (diff)
parentce7936d2b256bdd5e61a5ef018f35e9562667cac (diff)
downloadhdf5-eecddd9f3e80c2d00235e289653a0adbe44136d9.zip
hdf5-eecddd9f3e80c2d00235e289653a0adbe44136d9.tar.gz
hdf5-eecddd9f3e80c2d00235e289653a0adbe44136d9.tar.bz2
Merge pull request #2456 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:develop_minor to develop
* commit 'ce7936d2b256bdd5e61a5ef018f35e9562667cac': Fixed the RELEASE.txt note for HDFFV-11057 Fix shutdown errors when using the HDF5_VOL_CONNECTOR environment variable to set a dynamically loaded plugin as the default VOL connector. Fixes HDFFV-11057 Very minor comment change in H5VLconnector.h.
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 16c12cb..62a1c09 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);