summaryrefslogtreecommitdiffstats
path: root/src/H5.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5.c')
-rw-r--r--src/H5.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/H5.c b/src/H5.c
index cd4d2a2..3fda450 100644
--- a/src/H5.c
+++ b/src/H5.c
@@ -221,6 +221,9 @@ H5_term_library(void)
pending += DOWN(A);
pending += DOWN(S);
pending += DOWN(T);
+ /* Don't shut down the object header code until objects are shut down */
+ if(pending==0)
+ pending += DOWN(O);
/* Don't shut down the file code until objects in files are shut down */
if(pending==0)
pending += DOWN(F);