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:
parent
970eef034b
commit
5f3de79560
1 changed files with 1 additions and 1 deletions
|
|
@ -116,7 +116,7 @@ namespace Swig {
|
||||||
director_->swig_jvm_->AttachCurrentThread((void **) &jenv_, NULL);
|
director_->swig_jvm_->AttachCurrentThread((void **) &jenv_, NULL);
|
||||||
}
|
}
|
||||||
~JNIEnvWrapper() {
|
~JNIEnvWrapper() {
|
||||||
director_->swig_jvm_->DetachCurrentThread();
|
//director_->swig_jvm_->DetachCurrentThread();
|
||||||
}
|
}
|
||||||
JNIEnv *getJNIEnv() const {
|
JNIEnv *getJNIEnv() const {
|
||||||
return jenv_;
|
return jenv_;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue