nxt_main_process.c (2014:f8a0992944df) nxt_main_process.c (2016:730e903f4534)
1
2/*
3 * Copyright (C) Igor Sysoev
4 * Copyright (C) NGINX, Inc.
5 */
6
7#include <nxt_main.h>
8#include <nxt_runtime.h>

--- 958 unchanged lines hidden (view full) ---

967 nxt_queue_remove(&child->link);
968 child->link.next = NULL;
969
970 nxt_process_close_ports(task, child);
971 } nxt_queue_loop;
972
973 if (rt->nprocesses <= 1) {
974 nxt_runtime_quit(task, 0);
1
2/*
3 * Copyright (C) Igor Sysoev
4 * Copyright (C) NGINX, Inc.
5 */
6
7#include <nxt_main.h>
8#include <nxt_runtime.h>

--- 958 unchanged lines hidden (view full) ---

967 nxt_queue_remove(&child->link);
968 child->link.next = NULL;
969
970 nxt_process_close_ports(task, child);
971 } nxt_queue_loop;
972
973 if (rt->nprocesses <= 1) {
974 nxt_runtime_quit(task, 0);
975
976 return;
975 }
976
977 }
978
977 return;
979 continue;
978 }
979
980 nxt_port_remove_notify_others(task, process);
981
982 nxt_queue_each(child, &children, nxt_process_t, link) {
983 nxt_port_remove_notify_others(task, child);
984
985 nxt_queue_remove(&child->link);

--- 610 unchanged lines hidden ---
980 }
981
982 nxt_port_remove_notify_others(task, process);
983
984 nxt_queue_each(child, &children, nxt_process_t, link) {
985 nxt_port_remove_notify_others(task, child);
986
987 nxt_queue_remove(&child->link);

--- 610 unchanged lines hidden ---