diff options
-rw-r--r-- | src/nxt_main_process.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/nxt_main_process.c b/src/nxt_main_process.c index 37e09911..491b09f3 100644 --- a/src/nxt_main_process.c +++ b/src/nxt_main_process.c @@ -907,6 +907,10 @@ nxt_main_cleanup_worker_process(nxt_task_t *task, nxt_pid_t pid) ptype = nxt_process_type(process); + if (process->ready && init != NULL) { + init->stream = 0; + } + nxt_process_close_ports(task, process); if (!nxt_exiting) { |