|
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
AttachToThreadreturns int did you check it?
'Morning All:_______________________________________________
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.
John Cebasek
email@hidden
_______________________________________________
java-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/java-dev
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.
| References: | |
| >Re: JNI NewGlobalRef/DeleteGlobalRef question (From: John Cebasek <email@hidden>) |
| Home | Archives | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2011 Apple Inc. All rights reserved.