tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r979850 - /tomcat/trunk/java/org/apache/catalina/core/AprLifecycleListener.java
Date Tue, 27 Jul 2010 20:26:14 GMT
Author: markt
Date: Tue Jul 27 20:26:14 2010
New Revision: 979850

URL: http://svn.apache.org/viewvc?rev=979850&view=rev
Log:
Prevent JVM crashes caused by shutting down the APR library too early.

Modified:
    tomcat/trunk/java/org/apache/catalina/core/AprLifecycleListener.java

Modified: tomcat/trunk/java/org/apache/catalina/core/AprLifecycleListener.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/core/AprLifecycleListener.java?rev=979850&r1=979849&r2=979850&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/catalina/core/AprLifecycleListener.java (original)
+++ tomcat/trunk/java/org/apache/catalina/core/AprLifecycleListener.java Tue Jul 27 20:26:14
2010
@@ -108,7 +108,7 @@ public class AprLifecycleListener
                     }
                 }
             }
-        } else if (Lifecycle.AFTER_STOP_EVENT.equals(event.getType())) {
+        } else if (Lifecycle.DESTROY_EVENT.equals(event.getType())) {
             synchronized (lock) {
                 if (!aprAvailable) {
                     return;



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message