You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by st...@apache.org on 2005/10/13 02:26:13 UTC

svn commit: r315080 - /httpd/mod_arm4/trunk/mod_arm4.c

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 <ka...@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;