|[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]|
AttachToThreadreturns int did you check it?
After littering a bunch of fprintf's through my C++ code, I have discovered that most of my calls to AttachToThread() to get the JNIEnv* seem to be working. But, after a certain number of calls to AttachToThread, *JNIEnv is null. This is happening when my application is quitting. So, why would the JNIEnv* be null? Java thinks it's done with JNI even though I'm merrily deleting memory I've allocated?
Anyone ever encounter anything like this? What did you do to get around it?
Thanks in advance.
java-dev mailing list | email@hidden
Be sure to read the FAQ http://developer.apple.com/java/faq/ before posting
Do not post admin requests to the list. They will be ignored.
|>Re: JNI NewGlobalRef/DeleteGlobalRef question (From: John Cebasek <email@hidden>)|
Visit the Apple Store online or at retail locations.
Copyright © 2011 Apple Inc. All rights reserved.