From cb36b076868496790a1386046c912fa5a2a20866 Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Mon, 18 Jun 2018 17:14:30 +0300 Subject: Removing Unix control socket on start failure. The bug had appeared in 5cc5002a788e when process type has been converted to bitmask. This commit reverts the type back to a number. This commit is related to #131 issue on GitHub. --- src/nxt_port.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/nxt_port.c') diff --git a/src/nxt_port.c b/src/nxt_port.c index 7e5722d0..6ccdfab5 100644 --- a/src/nxt_port.c +++ b/src/nxt_port.c @@ -306,8 +306,6 @@ nxt_port_process_ready_handler(nxt_task_t *task, nxt_port_recv_msg_t *msg) rt = task->thread->runtime; - nxt_assert(nxt_runtime_is_main(rt)); - process = nxt_runtime_process_find(rt, msg->port_msg.pid); if (nxt_slow_path(process == NULL)) { return; -- cgit