summaryrefslogtreecommitdiffstats
path: root/src/tools/moc/preprocessor.cpp
diff options
context:
space:
mode:
authorAssam Boudjelthia <assam.boudjelthia@qt.io>2025-07-12 22:30:36 +0300
committerAssam Boudjelthia <assam.boudjelthia@qt.io>2025-07-18 17:02:49 +0300
commitf650ac0047d5ca2aff03a89e8759f9298ab6ce49 (patch)
treef553d8ed7b65f985ef9dce400b8f1d2d22b13f14 /src/tools/moc/preprocessor.cpp
parent3a217d2592602fb4bdef28d721871a161ecfb16f (diff)
Android: use try/finally with TypedArray under QtMessageDialogHelper
The current code obtains the TypedArray as a try() argument making it auto-close which calls recycle(), yet inside the try body, recycle() was called manually causing it be called again on an already recycled instance. Now, with try/finally it's more guranteed to execute especially on some older Android version where I've seen that don't implement auto-close. Pick-to: 6.10 6.9 Fixes: QTBUG-138008 Change-Id: I09f5003d1df9bda2349535a4f34c5120953bdd4c Reviewed-by: Petri Virkkunen <petri.virkkunen@qt.io>
Diffstat (limited to 'src/tools/moc/preprocessor.cpp')
0 files changed, 0 insertions, 0 deletions