crash on hangup
the message history saver needs the windows to stick around until save is completed. This usually the case, but end_of_input() was calling exit_nhwindows prematurely. This is actually an old bug (calling it early, but wasn't harmful until other recent changes).
This commit is contained in: