[libcamera-devel,v5,0/2] Fix Camera3RequestDescriptor leakage
mbox series

Message ID 20210402021238.1297591-1-hiroh@chromium.org
Headers show
Series
  • Fix Camera3RequestDescriptor leakage
Related show

Message

Hirokazu Honda April 2, 2021, 2:12 a.m. UTC
This enables CameraDevice to retain the leakage of
Camera3RequestDescriptor.

Change in v3:
- Add CameraDevice::stop().
- Fix the style error in patch 1.

Change in v5:
- Add mutext to protect descriptors_ because
  processCaptureRequest() and requestComplete() runs on
  different threads.

Hirokazu Honda (2):
  android: CameraDevice: Add stop()
  android: CameraDevice: Fix Camera3RequestDescriptor leakage

 src/android/camera_device.cpp | 102 ++++++++++++++++++++--------------
 src/android/camera_device.h   |  13 ++++-
 src/android/camera_worker.cpp |   4 +-
 src/android/camera_worker.h   |   2 +-
 4 files changed, 74 insertions(+), 47 deletions(-)

--
2.31.0.208.g409f899ff0-goog