commit | e6478de72a8ae1d3abb3e8c20898977c45354a4f | [log] [tgz] |
---|---|---|
author | Eino-Ville Talvala <etalvala@google.com> | Wed Jun 19 08:42:17 2013 -0700 |
committer | Eino-Ville Talvala <etalvala@google.com> | Wed Jun 19 08:42:17 2013 -0700 |
tree | 9a4d51e3ba03c3d4de9d43598f32e9961e6d0fe0 | |
parent | 241b52798809d8db3d369af05ace1f73f723f29b [diff] |
Camera2/3: Avoid shutdown race in callback processor. It's possible, during shutdown, for callback processor's heap to be destroyed when it's about to send the callback back to the user. Properly copy the heap reference to a local variable before unlocking the mutex. Bug: 9485959 Change-Id: I301347b77145f19c7ac721b9127dc74f122acce2