diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2018-11-27 02:26:24 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-27 02:26:24 +0100 |
commit | 0653ed63a508f9c8934d4033e1116e5176ff4fc1 (patch) | |
tree | 7bc6ca50659f2e80d0105974a850f9f2f420bc9c /src/nvim/misc1.c | |
parent | 271c5df41603f5427540082a3f8790bca0fd7595 (diff) | |
parent | 7fdb45e0f8b2dfc367067c62e413dd8082d770d5 (diff) | |
download | rneovim-0653ed63a508f9c8934d4033e1116e5176ff4fc1.tar.gz rneovim-0653ed63a508f9c8934d4033e1116e5176ff4fc1.tar.bz2 rneovim-0653ed63a508f9c8934d4033e1116e5176ff4fc1.zip |
Merge #9028 'diff/highlight: low-priority CursorLine'
Diffstat (limited to 'src/nvim/misc1.c')
-rw-r--r-- | src/nvim/misc1.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/nvim/misc1.c b/src/nvim/misc1.c index 4032210213..d8730ea08a 100644 --- a/src/nvim/misc1.c +++ b/src/nvim/misc1.c @@ -52,6 +52,7 @@ #include "nvim/window.h" #include "nvim/os/os.h" #include "nvim/os/shell.h" +#include "nvim/os/signal.h" #include "nvim/os/input.h" #include "nvim/os/time.h" #include "nvim/event/stream.h" @@ -2653,6 +2654,8 @@ void preserve_exit(void) } really_exiting = true; + // Ignore SIGHUP while we are already exiting. #9274 + signal_reject_deadly(); mch_errmsg(IObuff); mch_errmsg("\n"); ui_flush(); |