aboutsummaryrefslogtreecommitdiff
path: root/src/clint.py
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2018-11-26 22:14:18 +0100
committerJustin M. Keyes <justinkz@gmail.com>2018-11-27 01:14:55 +0100
commit7fdb45e0f8b2dfc367067c62e413dd8082d770d5 (patch)
tree7bc6ca50659f2e80d0105974a850f9f2f420bc9c /src/clint.py
parent60f845ca55a1b8b11a4eb390b1fed93a79e99ad5 (diff)
downloadrneovim-7fdb45e0f8b2dfc367067c62e413dd8082d770d5.tar.gz
rneovim-7fdb45e0f8b2dfc367067c62e413dd8082d770d5.tar.bz2
rneovim-7fdb45e0f8b2dfc367067c62e413dd8082d770d5.zip
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);
Diffstat (limited to 'src/clint.py')
0 files changed, 0 insertions, 0 deletions