[qt/qt/qtmultimedia]: Summary of bulk changes made

KDE Git Services - Bulk Change <[email protected]> Wed, 5 Aug 2026 12:16:09 +0000 (UTC)
Newsgroups gmane.comp.kde.cvs
Message-ID <[email protected]>
Git repository change summary for qt/qt/qtmultimedia
Pushed by mirror-service into branch '6.11'.
Changed from ed1d65591a0e5d126a5ece322d480d11191a914c to b90bb55155ce0dd7294d7ee7bab22e318827b7e2
Acknowledgement was received that this change introduces only existing code that has been pushed to another public open source repository.

This change contains the following new commits:

Git commit b90bb55155ce0dd7294d7ee7bab22e318827b7e2 by Mikko Hallamaa on 05/08/2026 at 06:04..
Android: Wait for camera device close before stopping background thread

CameraDevice.close() is async: Camera2 keeps posting internal
callbacks (e.g. onClosed) to the background handler after it returns.
stopAndClose() previously returned immediately, letting the caller
join the background thread before that post arrived, racing thread
teardown against Camera2's own callback delivery.

This patch adds a wait for CameraDevice.onClosed() before returning from
stopAndClose(), so the background thread stops only after Camera2 is
done with it. The wait must not run while rwLock is held, or a queued
callback needing that same lock deadlocks.

Fixes: QTBUG-143067
Pick-to: 6.8
Change-Id: I38f063eaa164a7b071ccaca8368b08b28bba13b3
Reviewed-by: Tim Blechmann <[email protected]>
Reviewed-by: Nils Petter Skålerud <[email protected]>
(cherry picked from commit b6b622f9c5a782e2d632c5bf75a34d1fc42fb60a)
Reviewed-by: Qt Cherry-pick Bot <[email protected]>
(cherry picked from commit 9601840b58202ccbb35fd7aeb74cbf2022b59138)
https://invent.kde.org/qt/qt/qtmultimedia/-/commit/b90bb55155ce0dd7294d7ee7bab22e318827b7e2