diff options
author | Dana Robinson <derobins@hdfgroup.org> | 2020-03-18 20:58:02 (GMT) |
---|---|---|
committer | Dana Robinson <derobins@hdfgroup.org> | 2020-03-18 20:58:02 (GMT) |
commit | 693008ecaff187a2551cfdf22fab618ff631658f (patch) | |
tree | 4d04c4973ccbf96cae6cf5eb3f5ba0b7527e5bea /src/H5.c | |
parent | f0a687f133c432ae32fca5b5eb93161837fd9434 (diff) | |
download | hdf5-693008ecaff187a2551cfdf22fab618ff631658f.zip hdf5-693008ecaff187a2551cfdf22fab618ff631658f.tar.gz hdf5-693008ecaff187a2551cfdf22fab618ff631658f.tar.bz2 |
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
Diffstat (limited to 'src/H5.c')
-rw-r--r-- | src/H5.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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); |