summaryrefslogtreecommitdiffstats
path: root/tests/auto/cmake
diff options
context:
space:
mode:
authorNils Petter Skålerud <[email protected]>2025-04-09 11:43:04 +0200
committerNils Petter Skålerud <[email protected]>2025-06-03 07:22:22 +0000
commit86a930eb638434391318449475fced8b86f124ae (patch)
treed186b8ac4218f7fa40e6bcf315b66396d699945b /tests/auto/cmake
parent65b11b9f97632101041134e04713697b17819884 (diff)
Darwin, Camera: Solve memory leak related to rotation trackingHEADdev
The current uses a method 'updateRotationTracking()' to setup state related to tracking the rotation of the AVCaptureDevice. This method either refreshes or clears the state depending on whether the camera is active or not. During destruction of the QAVFCamera object, the camera is still in active state, and therefore sets up new rotating-tracking objects during destruction and never cleans it up. This patch solves this memory leak by introducing a method 'clearRotationTracking()' and calls it during destruction. Pick-to: 6.10 6.9 6.8 Change-Id: I1f457ae62aa781dff48b50fb1f744e71da6a7972 Reviewed-by: Tim Blechmann <[email protected]>
Diffstat (limited to 'tests/auto/cmake')
0 files changed, 0 insertions, 0 deletions