diff options
Diffstat (limited to 'src/nxt_process.c')
-rw-r--r-- | src/nxt_process.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/nxt_process.c b/src/nxt_process.c index beb33f63..3f9de6fb 100644 --- a/src/nxt_process.c +++ b/src/nxt_process.c @@ -62,8 +62,6 @@ nxt_process_create(nxt_task_t *task, nxt_process_t *process) process->pid = nxt_pid; - rt->types = 0; - ptype = process->init->type; nxt_port_reset_next_id(); @@ -149,7 +147,7 @@ nxt_process_start(nxt_task_t *task, nxt_process_t *process) rt = thread->runtime; - rt->types |= (1U << init->type); + rt->type = init->type; engine = thread->engine; |