Fix unit test failure with APR connector. Make sure MBeans are de-registered when...
authormarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Tue, 27 Jul 2010 20:27:56 +0000 (20:27 +0000)
committermarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Tue, 27 Jul 2010 20:27:56 +0000 (20:27 +0000)
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@979853 13f79535-47bb-0310-9956-ffa450edef68

java/org/apache/coyote/http11/Http11AprProtocol.java

index ae94a0e..5b782e5 100644 (file)
@@ -169,6 +169,7 @@ public class Http11AprProtocol implements ProtocolHandler, MBeanRegistration {
         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 )