241d240
< nxt_process_t *process;
264,270c263,265
< process = nxt_runtime_process_get(rt, new_port_msg->pid);
< if (nxt_slow_path(process == NULL)) {
< return;
< }
<
< port = nxt_port_new(task, new_port_msg->id, new_port_msg->pid,
< new_port_msg->type);
---
> port = nxt_runtime_process_port_create(task, rt, new_port_msg->pid,
> new_port_msg->id,
> new_port_msg->type);
272d266
< nxt_process_use(task, process, -1);
276,279d269
< nxt_process_port_add(task, process, port);
<
< nxt_process_use(task, process, -1);
<
289,292d278
< nxt_runtime_port_add(task, port);
<
< nxt_port_use(task, port, -1);
<