Mercurial > dwindows
diff dwtest.c @ 2810:e0ac1ef1c85b
Android: JNI changes to address potential memory/object leaks.
While I haven't done any memory leak testing, while researching how to
improve performance, it has come to my attention that I should be releasing
various objects. Particularly java string related references.
Always call DeleteLocalRef() after NewStringUTF() and...
Always call ReleaseStringUTFChars() after GetStringUTFChars().
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Tue, 26 Jul 2022 19:40:46 +0000 |
parents | 56eab3a84b62 |
children | 4521f014bb17 |