Hi Bill


Patch 2: Call to arm_destory_application



This is it. Just a call to arm destroy application() as the standard awaits it
Greetings
Kai



diff -Naur -x .svn -x CVS mod_arm4_svn_20050825_changed1/mod_arm4.c 
mod_arm4_svn_20050825_changed2/mod_arm4.c
--- mod_arm4_svn_20050825_changed1/mod_arm4.c   2005-09-22 21:02:22.000000000 
+0200
+++ mod_arm4_svn_20050825_changed2/mod_arm4.c   2005-09-22 21:25:47.000000000 
+0200
@@ -219,7 +219,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;

Reply via email to