Files
neovim/test/functional
Justin M. Keyes 7fdb45e0f8 preserve_exit: Ignore SIGHUP
closes #9274
ref #9028

If stdin closed then read_error_exit calls preserve_exit. Handling
SIGHUP during preserve_exit would cause a premature teardown, and
conflicts with e.g. ui_bridge_stop which waits for TUI to teardown.

Vim ignores SIGHUP in its prepare_to_exit and getout_preserve_modified
routines:

    /* Ignore SIGHUP, because a dropped connection causes a read error, which
     * makes Vim exit and then handling SIGHUP causes various reentrance
     * problems. */
    signal(SIGHUP, SIG_IGN);
2018-11-27 01:14:55 +01:00
..
2018-11-27 01:14:55 +01:00
2018-10-13 19:39:56 +02:00
2018-05-09 23:18:38 +02:00
2018-06-04 19:42:28 -04:00
2016-06-10 21:50:49 +03:00