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_worker_jni.c
Date Sun, 14 Jul 2002 13:33:56 GMT
mturk       2002/07/14 06:33:56

  Modified:    jk/native2/common jk_worker_jni.c
  Log:
  Remove the destroying of the jvm from native code,
  the TomcatStarter will do that on Java side.
  
  Revision  Changes    Path
  1.27      +1 -2      jakarta-tomcat-connectors/jk/native2/common/jk_worker_jni.c
  
  Index: jk_worker_jni.c
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native2/common/jk_worker_jni.c,v
  retrieving revision 1.26
  retrieving revision 1.27
  diff -u -r1.26 -r1.27
  --- jk_worker_jni.c	11 Jul 2002 11:38:12 -0000	1.26
  +++ jk_worker_jni.c	14 Jul 2002 13:33:56 -0000	1.27
  @@ -434,8 +434,7 @@
                   apr_thread_yield();
               }
   #endif
  -            (*jniEnv)->UnregisterNatives(jniEnv, jniWorker->jk_java_bridge_apri_class);
  -            vm->destroy(env, vm);
  +            vm->detach(env, vm);
           }
       }
       env->l->jkLog(env, env->l, JK_LOG_INFO, "jni.destroy() done\n");
  
  
  

--
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