You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by jf...@apache.org on 2003/05/20 23:05:12 UTC
cvs commit: jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/core StandardContext.java
jfarcand 2003/05/20 14:05:11
Modified: catalina/src/share/org/apache/catalina/core
StandardContext.java
Log:
Do not register a StandardContext instance when the context is stopped (undeployed). The object will never be deleted/garbaged and the Mapper will keep reference to it.
Revision Changes Path
1.55 +1 -2 jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/core/StandardContext.java
Index: StandardContext.java
===================================================================
RCS file: /home/cvs/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/core/StandardContext.java,v
retrieving revision 1.54
retrieving revision 1.55
diff -u -r1.54 -r1.55
--- StandardContext.java 19 May 2003 22:45:23 -0000 1.54
+++ StandardContext.java 20 May 2003 21:05:11 -0000 1.55
@@ -4353,7 +4353,6 @@
if( oname != null ) {
Registry.getRegistry().unregisterComponent(oname);
}
- Registry.getRegistry().registerComponent(this, oname, null);
}
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org