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.
This commit is contained in:
Igor Sysoev
2018-06-18 17:14:30 +03:00
parent 6273819080
commit cb36b07686
5 changed files with 5 additions and 23 deletions

View File

@@ -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;