summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_router.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/nxt_router.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nxt_router.c b/src/nxt_router.c
index 9753d289..a0c5a17d 100644
--- a/src/nxt_router.c
+++ b/src/nxt_router.c
@@ -926,6 +926,8 @@ nxt_router_thread_start(void *data)
thread->task = &engine->task;
thread->fiber = &engine->fibers->fiber;
+ nxt_mp_thread_adopt(engine->port->mem_pool);
+
engine->port->socket.task = task;
nxt_port_create(task, engine->port, nxt_router_app_port_handlers);