]> git.eshelyaron.com Git - emacs.git/commitdiff
(shut_down_emacs): Don't call check_glyph_memory
authorGerd Moellmann <gerd@gnu.org>
Thu, 30 Aug 2001 13:35:28 +0000 (13:35 +0000)
committerGerd Moellmann <gerd@gnu.org>
Thu, 30 Aug 2001 13:35:28 +0000 (13:35 +0000)
and check_message_stack if temrinating normally.  We want
glyph matrices etc. in a core dump.

src/emacs.c

index 7a59c1e40c3e21dafd50d6030decbc1149be4baa..47beb426a15ecf3f2c6d8fbfa87fcaf2268953ae 100644 (file)
@@ -1912,8 +1912,13 @@ shut_down_emacs (sig, no_x, stuff)
   term_ntproc ();
 #endif
 
-  check_glyph_memory ();
-  check_message_stack ();
+  /* Do this only if terminating normally, we want glyph matrices
+     etc. in a core dump.  */
+  if (sig && sig != SIGTERM)
+    {
+      check_glyph_memory ();
+      check_message_stack ();
+    }
 
 #ifdef MSDOS
   dos_cleanup ();