summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_port.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2018-06-18 17:14:30 +0300
committerIgor Sysoev <igor@sysoev.ru>2018-06-18 17:14:30 +0300
commitcb36b076868496790a1386046c912fa5a2a20866 (patch)
tree6aa34fd5ae23168b5eb3e4f1506323dc10607774 /src/nxt_port.c
parent6273819080584460db7a7a65fc69c3f92a84b05b (diff)
downloadunit-cb36b076868496790a1386046c912fa5a2a20866.tar.gz
unit-cb36b076868496790a1386046c912fa5a2a20866.tar.bz2
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.
Diffstat (limited to 'src/nxt_port.c')
-rw-r--r--src/nxt_port.c2
1 files changed, 0 insertions, 2 deletions
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;