From 2928d2e9d595c306c8489c5caf2875ecdadcb66b Mon Sep 17 00:00:00 2001 From: Mladen Turk Date: Mon, 9 Feb 2009 06:49:46 +0000 Subject: [PATCH] Add missing cleanup register git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@742281 13f79535-47bb-0310-9956-ffa450edef68 --- modules/mappers/mod_watchdog.c | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/mappers/mod_watchdog.c b/modules/mappers/mod_watchdog.c index a95d282259..7711f3811e 100644 --- a/modules/mappers/mod_watchdog.c +++ b/modules/mappers/mod_watchdog.c @@ -244,6 +244,7 @@ static apr_status_t wd_startup(ap_watchdog_t *w, apr_pool_t *p) * cleanup was being invoked before the thread completely spawned. */ apr_thread_mutex_lock(w->startup); + apr_pool_pre_cleanup_register(p, w, wd_worker_cleanup); /* Start the newly created watchdog */ rc = apr_thread_create(&w->thread, NULL, wd_worker, w, p); -- 2.40.0