Commit 5e7f8733 authored by Richard M. Stallman's avatar Richard M. Stallman

(shut_down_emacs): Don't call Fx_close_current_connection.

parent ed4e8e40
......@@ -858,6 +858,7 @@ shut_down_emacs (sig, no_x, stuff)
kill_vms_processes ();
#endif
#if 0 /* This triggers a bug in XCloseDisplay and is not needed. */
#ifdef HAVE_X_WINDOWS
/* It's not safe to call intern here. Maybe we are crashing. */
if (!noninteractive && SYMBOLP (Vwindow_system)
......@@ -866,6 +867,7 @@ shut_down_emacs (sig, no_x, stuff)
&& ! no_x)
Fx_close_current_connection ();
#endif /* HAVE_X_WINDOWS */
#endif
#ifdef SIGIO
/* There is a tendency for a SIGIO signal to arrive within exit,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment