Mercurial > octave
diff libinterp/corefcn/toplev.cc @ 17755:9c03b071fd7b
avoid HDF5 error message at exit (bug #37713)
* load-save.h, load-save.cc (octave_prepare_hdf5,
octave_finalize_hdf5): New functions.
* octave.cc (octave_execute_interpreter): Call octave_prepare_hdf5.
* toplev.cc (do_octave_atexit): Call octave_finalize_hdf5.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Thu, 24 Oct 2013 17:13:02 -0400 |
parents | d63878346099 |
children | 175b392e91fe |
line wrap: on
line diff
--- a/libinterp/corefcn/toplev.cc Thu Oct 24 13:53:45 2013 -0700 +++ b/libinterp/corefcn/toplev.cc Thu Oct 24 17:13:02 2013 -0400 @@ -57,6 +57,7 @@ #include "graphics.h" #include "input.h" #include "lex.h" +#include "load-save.h" #include "octave-link.h" #include "oct-conf.h" #include "oct-conf-features.h" @@ -693,6 +694,8 @@ OCTAVE_SAFE_CALL (sysdep_cleanup, ()); + OCTAVE_SAFE_CALL (octave_finalize_hdf5, ()); + OCTAVE_SAFE_CALL (flush_octave_stdout, ()); if (! quitting_gracefully && (interactive || forced_interactive))