Deleted
Added
nxt_main_process.c (1565:f9f5e9e00e17) | nxt_main_process.c (1579:c80e692dc644) |
---|---|
1 2/* 3 * Copyright (C) Igor Sysoev 4 * Copyright (C) NGINX, Inc. 5 */ 6 7#include <nxt_main.h> 8#include <nxt_runtime.h> --- 864 unchanged lines hidden (view full) --- 873 874 rt = task->thread->runtime; 875 876 process = nxt_runtime_process_find(rt, pid); 877 if (!process) { 878 return; 879 } 880 | 1 2/* 3 * Copyright (C) Igor Sysoev 4 * Copyright (C) NGINX, Inc. 5 */ 6 7#include <nxt_main.h> 8#include <nxt_runtime.h> --- 864 unchanged lines hidden (view full) --- 873 874 rt = task->thread->runtime; 875 876 process = nxt_runtime_process_find(rt, pid); 877 if (!process) { 878 return; 879 } 880 |
881#if (NXT_HAVE_ISOLATION_ROOTFS) 882 if (process->isolation.rootfs != NULL && process->isolation.mounts) { 883 (void) nxt_process_unmount_all(task, process); | 881 if (process->isolation.cleanup != NULL) { 882 process->isolation.cleanup(task, process); |
884 } | 883 } |
885#endif | |
886 887 name = process->name; 888 stream = process->stream; 889 init = *((nxt_process_init_t *) nxt_process_init(process)); 890 891 if (process->state == NXT_PROCESS_STATE_READY) { 892 process->stream = 0; 893 } --- 541 unchanged lines hidden --- | 884 885 name = process->name; 886 stream = process->stream; 887 init = *((nxt_process_init_t *) nxt_process_init(process)); 888 889 if (process->state == NXT_PROCESS_STATE_READY) { 890 process->stream = 0; 891 } --- 541 unchanged lines hidden --- |