summaryrefslogtreecommitdiff
path: root/platform/win32
diff options
context:
space:
mode:
authorRobin Watts <robin.watts@artifex.com>2016-09-15 20:03:03 +0100
committerRobin Watts <robin.watts@artifex.com>2016-09-16 17:28:29 +0100
commiteeffd8b996051cc765dc389c8ca43d11692528fb (patch)
tree6bcb73b7be6d145d3f68d5311de3bea42b27f714 /platform/win32
parent08dd88ba202cf67b43967d39032fa7a3604ad026 (diff)
downloadmupdf-eeffd8b996051cc765dc389c8ca43d11692528fb.tar.xz
Android JNI context fixes.
In the JNI code, we attach a cloned context onto each thread we encounter in thread local storage. When the thread shuts down, we should destroy that context. This can theoretically be achieved on pthreads by using the destructor registered to the tls slot. I have yet to see Android ever actually call this destructor yet though. No such mechanism exists for windows thread, so we'll just leak here for now. There is a potential fix for this, but it's hairy, so details are left in a comment in the code.
Diffstat (limited to 'platform/win32')
0 files changed, 0 insertions, 0 deletions