diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/nxt_router.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/nxt_router.c b/src/nxt_router.c index e29dc572..7b52876a 100644 --- a/src/nxt_router.c +++ b/src/nxt_router.c @@ -705,6 +705,7 @@ nxt_router_temp_conf(nxt_task_t *task) nxt_queue_init(&tmcf->updating); nxt_queue_init(&tmcf->pending); nxt_queue_init(&tmcf->creating); + nxt_queue_init(&tmcf->apps); nxt_queue_init(&tmcf->previous); @@ -834,6 +835,8 @@ nxt_router_conf_error(nxt_task_t *task, nxt_router_temp_conf_t *tmcf) nxt_queue_add(&router->sockets, &tmcf->keeping); nxt_queue_add(&router->sockets, &tmcf->deleting); + nxt_queue_add(&router->apps, &tmcf->previous); + // TODO: new engines and threads nxt_mp_destroy(tmcf->conf->mem_pool); |