src/server/daemon/webserver.c

changeset 573
76ccfc2a932f
parent 572
e70418bb14b1
child 574
76450adae540
equal deleted inserted replaced
572:e70418bb14b1 573:76ccfc2a932f
288 288
289 shutdown_eventhandlers_wait(); // TODO: timeout 289 shutdown_eventhandlers_wait(); // TODO: timeout
290 290
291 // execute restart callbacks 291 // execute restart callbacks
292 RestartCallback *re = atrestart; 292 RestartCallback *re = atrestart;
293 RestartCallback *re_next;
293 while(re) { 294 while(re) {
294 re->func(re->data); 295 re->func(re->data);
295 re = re->next; 296 re_next = re->next;
296 } 297 free(re);
298 re = re_next;
299 }
300
301 resource_pool_cleanup();
297 302
298 webserver_destroy(); 303 webserver_destroy();
299 } 304 }
300 305
301 int webserver_reconfig() { 306 int webserver_reconfig() {

mercurial