You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by mt...@apache.org on 2009/02/09 07:49:46 UTC

svn commit: r742281 - /httpd/httpd/trunk/modules/mappers/mod_watchdog.c

Author: mturk
Date: Mon Feb  9 06:49:46 2009
New Revision: 742281

URL: http://svn.apache.org/viewvc?rev=742281&view=rev
Log:
Add missing cleanup register

Modified:
    httpd/httpd/trunk/modules/mappers/mod_watchdog.c

Modified: httpd/httpd/trunk/modules/mappers/mod_watchdog.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/mappers/mod_watchdog.c?rev=742281&r1=742280&r2=742281&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/mappers/mod_watchdog.c (original)
+++ httpd/httpd/trunk/modules/mappers/mod_watchdog.c Mon Feb  9 06:49:46 2009
@@ -244,6 +244,7 @@
      * 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);