src/server/daemon/config.c

changeset 449
a28a5ccc894b
parent 447
45d1b02fa80b
child 467
4d038bc6f86e
equal deleted inserted replaced
448:02b003f7560c 449:a28a5ccc894b
390 if(ref == 0) { 390 if(ref == 0) {
391 if(cfg->next) { 391 if(cfg->next) {
392 cfg_unref(cfg->next); 392 cfg_unref(cfg->next);
393 } 393 }
394 log_ereport(LOG_VERBOSE, "destroy configuration %p", cfg); 394 log_ereport(LOG_VERBOSE, "destroy configuration %p", cfg);
395
396 CxIterator i = cxListIterator(cfg->listeners, 0);
397 cx_foreach(HttpListener*, listener, i) {
398 http_listener_destroy(listener);
399 }
400
395 pool_destroy(cfg->pool); 401 pool_destroy(cfg->pool);
396 } 402 }
397 } 403 }
398 404
399 405

mercurial