tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mt...@apache.org
Subject cvs commit: jakarta-tomcat-connectors/jk/native2/common jk_channel_jni.c
Date Tue, 02 Jul 2002 12:08:25 GMT
mturk       2002/07/02 05:08:25

  Modified:    jk/native2/common jk_channel_jni.c
  Log:
  Call the vm detach on 'afterRequest' and on
  channel destoy.
  
  Revision  Changes    Path
  1.31      +5 -1      jakarta-tomcat-connectors/jk/native2/common/jk_channel_jni.c
  
  Index: jk_channel_jni.c
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native2/common/jk_channel_jni.c,v
  retrieving revision 1.30
  retrieving revision 1.31
  diff -u -r1.30 -r1.31
  --- jk_channel_jni.c	29 Jun 2002 18:31:00 -0000	1.30
  +++ jk_channel_jni.c	2 Jul 2002 12:08:25 -0000	1.31
  @@ -329,6 +329,10 @@
           (*jniEnv)->DeleteGlobalRef( jniEnv, epData->jniJavaContext );
       }
       
  +    jniCh->vm->detach( env, jniCh->vm );
  +    env->l->jkLog(env, env->l, JK_LOG_INFO,
  +                  "channel_jni.close() ok\n" ); 
  +
       endpoint->channelData=NULL;
       return JK_OK;
   
  @@ -522,7 +526,7 @@
       if( we==NULL || we->vm==NULL ) {
           return JK_OK;
       }
  -    /* we->vm->detach( env, we->vm );  */
  +    we->vm->detach( env, we->vm );
       
       if( worker->mbean->debug > 0 )
           env->l->jkLog(env, env->l, JK_LOG_INFO, 
  
  
  

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


Mime
View raw message