changeset 14006:54f76558c41a

avoid gh_manager segfault * graphics.cc (gh_manager::create_instance): Don't register cleanup function.
author John W. Eaton <jwe@octave.org>
date Wed, 07 Dec 2011 06:55:12 -0500
parents f8556baf1949
children caa7439203f2
files src/graphics.cc
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/graphics.cc	Wed Dec 07 06:47:15 2011 -0500
+++ b/src/graphics.cc	Wed Dec 07 06:55:12 2011 -0500
@@ -7401,7 +7401,9 @@
 {
   instance = new gh_manager ();
 
+#if 0
   singleton_cleanup_list::add (cleanup_instance);
+#endif
 }
 
 graphics_handle