mirror of
https://github.com/neovim/neovim.git
synced 2026-08-26 00:51:53 +00:00
Merge #41370 from justinmk/fixci
This commit is contained in:
@@ -706,6 +706,8 @@ void os_exit(int r)
|
||||
FUNC_ATTR_NORETURN
|
||||
{
|
||||
exiting = true;
|
||||
// Avoid recursion in case SIGTERM arrives during `os_exit`.
|
||||
signal_reject_deadly();
|
||||
|
||||
if (ui_client_channel_id) {
|
||||
ui_client_stop();
|
||||
@@ -895,6 +897,8 @@ void preserve_exit(const char *errmsg)
|
||||
}
|
||||
|
||||
really_exiting = true;
|
||||
// Set this now, to neuter a stray `exit_event` on the event-loop. #39675
|
||||
exiting = true;
|
||||
// Ignore SIGHUP while we are already exiting. #9274
|
||||
signal_reject_deadly();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user