From e34f6e8c9ef53157422f871b4f674946d02370d3 Mon Sep 17 00:00:00 2001 From: Quincey Koziol Date: Fri, 20 Jun 2003 10:17:22 -0500 Subject: [svn-r7070] Purpose: Code cleanup Description: Add another dependency to the API shutdown code to not shut down the ID management code until the other APIs which use IDs are shut down. Platforms tested: FreeBSD 4.8 (sleipnir) h5committest --- src/H5.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/H5.c b/src/H5.c index e84aebf..72ea2a8 100644 --- a/src/H5.c +++ b/src/H5.c @@ -237,7 +237,9 @@ H5_term_library(void) pending += DOWN(Z); pending += DOWN(FD); pending += DOWN(P); - pending += DOWN(I); + /* Don't shut down the ID code until other APIs which use them are shut down */ + if(pending==0) + pending += DOWN(I); /* Don't shut down the free list code until _everything_ else is down */ if(pending==0) pending += DOWN(FL); -- cgit v0.12