Merge #41370 from justinmk/fixci

This commit is contained in:
Justin M. Keyes
2026-08-19 03:52:46 -04:00
committed by GitHub

View File

@@ -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();