Remove DetachCurrentThread patch from 08/11/2006 - it causes segfaults on some systems

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9553 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2006-11-13 22:15:53 +00:00
commit 5f3de79560

View file

@ -116,7 +116,7 @@ namespace Swig {
director_->swig_jvm_->AttachCurrentThread((void **) &jenv_, NULL);
}
~JNIEnvWrapper() {
director_->swig_jvm_->DetachCurrentThread();
//director_->swig_jvm_->DetachCurrentThread();
}
JNIEnv *getJNIEnv() const {
return jenv_;