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 94e90d8..4050736 100644
--- a/src/H5.c
+++ b/src/H5.c
@@ -251,6 +251,9 @@ H5_term_library(void)
if (func) {
fprintf(stderr, "HDF5: infinite loop closing library\n");
fprintf(stderr, " %s\n", loop);
+#ifndef NDEBUG
+ HDabort();
+#endif /* NDEBUG */
}
}