summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_process.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/nxt_process.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nxt_process.c b/src/nxt_process.c
index 9561fb84..9ab3eaf3 100644
--- a/src/nxt_process.c
+++ b/src/nxt_process.c
@@ -50,6 +50,8 @@ nxt_process_create(nxt_task_t *task, nxt_process_t *process)
nxt_port_reset_next_id();
+ nxt_event_engine_thread_adopt(task->thread->engine);
+
/* Remove not ready processes */
nxt_runtime_process_each(rt, p) {