Date: Fri, 20 Nov 2009 13:11:15 +0100
From: Jan Djärv <jan.h.d@swipnet.se>
CC: 4970@emacsbugs.donarmstrong.com, dann@ics.uci.edu
And btw, are there any live frames when the test in term.c is made, in
the recipe to reproduce the original bug? If not, maybe it needs to
check for live frames explicitly.
Yes there are. When read_socket_hook returns -2 and this is the last terminal,
a SIGHUP is sent to ourselves (why not just call shutdown_emacs and exit?) and
Fdelete_terminal is called. So frames has not been removed yet.