costin      00/12/01 09:42:52

  Modified:    src/share/org/apache/tomcat/core ContextManager.java
  Log:
  Fixed small bug that prevented normal shutdown.
  
  Revision  Changes    Path
  1.152     +2 -1      
jakarta-tomcat/src/share/org/apache/tomcat/core/ContextManager.java
  
  Index: ContextManager.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-tomcat/src/share/org/apache/tomcat/core/ContextManager.java,v
  retrieving revision 1.151
  retrieving revision 1.152
  diff -u -r1.151 -r1.152
  --- ContextManager.java       2000/11/30 06:17:12     1.151
  +++ ContextManager.java       2000/12/01 17:42:51     1.152
  @@ -494,6 +494,8 @@
        if( context.getState() == Context.STATE_READY )
            shutdownContext( context );
   
  +     contextsV.removeElement(context);
  +
        if( context.getState() == Context.STATE_DISABLED )
            return;
        
  @@ -505,7 +507,6 @@
            cI[i].removeContext( this, context );
        }
   
  -     contextsV.removeElement(context);
       }
   
   
  
  
  

Reply via email to