This website works better with JavaScript.
Home
Help
Register
Sign In
pEp.foundation
/
pEpJNIAdapter
Watch
13
Star
1
Fork
3
Code
Issues
Pull Requests
1
Releases
70
Activity
Browse Source
JNI-160: close() on obj with handle == 0 does nothing (no decrement either)
JNI-160
heck
11 months ago
parent
495ab5a085
commit
9d7efca8a5
1 changed files
with
5 additions
and
3 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+5
-3
src/codegen/gen_java_Message.ysl2
+ 5
- 3
src/codegen/gen_java_Message.ysl2
View File
@ -69,9 +69,11 @@ tstylesheet {
}
public final void close() {
release(handle);
handle = 0;
instanceCount--;
if(handle != 0) {
release(handle);
handle = 0;
instanceCount--;
}
}
public static int getInstanceCount() {
Write
Preview
Loading…
Cancel
Save