tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cos...@locus.apache.org
Subject cvs commit: jakarta-tomcat/src/share/org/apache/tomcat/core Handler.java
Date Sat, 30 Sep 2000 05:01:36 GMT
costin      00/09/29 22:01:36

  Modified:    src/share/org/apache/tomcat/core Handler.java
  Log:
  Ops, it seems destroy was called indeed - in Handler, while init callbacks
  were called in ServletWrapper.
  
  Handler need a major cleanup.
  
  Revision  Changes    Path
  1.17      +0 -5      jakarta-tomcat/src/share/org/apache/tomcat/core/Handler.java
  
  Index: Handler.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat/src/share/org/apache/tomcat/core/Handler.java,v
  retrieving revision 1.16
  retrieving revision 1.17
  diff -u -r1.16 -r1.17
  --- Handler.java	2000/09/29 07:01:01	1.16
  +++ Handler.java	2000/09/30 05:01:35	1.17
  @@ -229,15 +229,10 @@
   	if ( ! initialized ) return;// already destroyed or not init.
   	initialized=false;
   
  -	if( ! internal )
  -	    contextM.doPreServletDestroy( context, this);
  -	
   	// XXX post will not be called if any error happens in destroy.
   	// That's how tomcat worked before - I think it's a bug !
   	doDestroy();
   
  -	if( ! internal )
  -	    contextM.doPostServletDestroy( context, this);
       }
   
       /** Initialize the handler. Handler can override this
  
  
  

Mime
View raw message