tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r979853 - /tomcat/trunk/java/org/apache/coyote/http11/Http11AprProtocol.java
Date Tue, 27 Jul 2010 20:27:56 GMT
Author: markt
Date: Tue Jul 27 20:27:56 2010
New Revision: 979853

URL: http://svn.apache.org/viewvc?rev=979853&view=rev
Log:
Fix unit test failure with APR connector. Make sure MBeans are de-registered when connector
stops.

Modified:
    tomcat/trunk/java/org/apache/coyote/http11/Http11AprProtocol.java

Modified: tomcat/trunk/java/org/apache/coyote/http11/Http11AprProtocol.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/coyote/http11/Http11AprProtocol.java?rev=979853&r1=979852&r2=979853&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/coyote/http11/Http11AprProtocol.java (original)
+++ tomcat/trunk/java/org/apache/coyote/http11/Http11AprProtocol.java Tue Jul 27 20:27:56
2010
@@ -169,6 +169,7 @@ public class Http11AprProtocol implement
         if(log.isInfoEnabled())
             log.info(sm.getString("http11protocol.stop", getName()));
         endpoint.destroy();
+        cHandler.recycledProcessors.clear();
         if( tpOname!=null )
             Registry.getRegistry(null, null).unregisterComponent(tpOname);
         if( rgOname != null )



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


Mime
View raw message