httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mt...@apache.org
Subject svn commit: r742281 - /httpd/httpd/trunk/modules/mappers/mod_watchdog.c
Date Mon, 09 Feb 2009 06:49:46 GMT
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);



Mime
View raw message