summaryrefslogtreecommitdiff
path: root/graphics/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorJeff Brown <jeffbrown@google.com>2013-09-06 16:24:36 -0700
committerJeff Brown <jeffbrown@google.com>2013-09-06 18:07:12 -0700
commit013cf847bcfd2828d34dced60adf2d3dd98021dc (patch)
tree616a51bcdecb22ac0fdd29c0d82bae3d38aa7adb /graphics/java/android/renderscript/ProgramFragmentFixedFunction.java
parent298cbe9c403f9c6c66cecf601cccfcfd82e50930 (diff)
Fix native crash when message queue quits.
Fix a race when quitting the looper's message queue that could cause the mPtr field to be zeroed out and the native object to be destroyed while still in use. This happened due to an optimization that was intended to release the native looper's file descriptor as soon as the last message was processed rather than waiting for the finalizer to run. Bug: 9726217 Change-Id: I695a9a657acfdb3ce65a5737ff20cd11113d15fa
Diffstat (limited to 'graphics/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions