httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stodd...@apache.org
Subject svn commit: r315080 - /httpd/mod_arm4/trunk/mod_arm4.c
Date Thu, 13 Oct 2005 00:26:13 GMT
Author: stoddard
Date: Wed Oct 12 17:26:09 2005
New Revision: 315080

URL: http://svn.apache.org/viewcvs?rev=315080&view=rev
Log:
Add call to arm_destroy_application()
Contributed by: Kai Engels <kai.engels@gmx.de>
Reviewed by: Bill Stoddard

Modified:
    httpd/mod_arm4/trunk/mod_arm4.c

Modified: httpd/mod_arm4/trunk/mod_arm4.c
URL: http://svn.apache.org/viewcvs/httpd/mod_arm4/trunk/mod_arm4.c?rev=315080&r1=315079&r2=315080&view=diff
==============================================================================
--- httpd/mod_arm4/trunk/mod_arm4.c (original)
+++ httpd/mod_arm4/trunk/mod_arm4.c Wed Oct 12 17:26:09 2005
@@ -215,7 +215,13 @@
     arm_rc = ap_arm_stop_application(sconf->app_handle, 0, NULL);
     if (arm_rc < 0) {
         ap_log_error(APLOG_MARK, APLOG_WARNING, 0, s, 
-                     "mod_arm: arm_end_application failed with rc = %d", arm_rc);
+                     "mod_arm: arm_stop_application failed with rc = %d", arm_rc);
+    }
+    /** app must be destroyed */
+    arm_rc = ap_arm_destroy_application(&(sconf->app_id), 0, NULL);
+    if (arm_rc < 0) {
+        ap_log_error(APLOG_MARK, APLOG_WARNING, 0, s, 
+                     "mod_arm: arm_destroy_application failed with rc = %d", arm_rc);
     }
 
     return APR_SUCCESS;



Mime
View raw message