reset X11's "interface has been initialized" flag

Reset 'x_inited' after the various widgets have been released
during shutdown.

This might prevent the second panic ('X11_mark_synch()' during
emergency save) in the double panic reported in a later comment of
github issue #569.  It definitely doesn't address whatever caused
the first panic, nor the poor handling of missing fonts that was
apparently responsible for #569's initial report.
This commit is contained in:
PatR
2022-11-13 13:12:19 -08:00
parent 7caa6ab8c7
commit d957d70d15

View File

@@ -1658,6 +1658,8 @@ X11_exit_nhwindows(const char *dummy)
release_getline_widgets();
release_yn_widgets();
x_inited = FALSE;
}
#ifdef X11_HANGUP_SIGNAL