summaryrefslogtreecommitdiffstats
path: root/tests/auto/sql/kernel/qsqldatabase/tst_qsqldatabase.cpp
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2025-03-24 17:07:07 -0700
committerThiago Macieira <thiago.macieira@intel.com>2025-04-11 17:09:49 -0700
commit81a7a4c2d94fca6fc595dcb147831b9585eaee5f (patch)
tree7806a938196cf2e43b81e28c2377e2a7cfcabac2 /tests/auto/sql/kernel/qsqldatabase/tst_qsqldatabase.cpp
parent7dc2532bed8977dd4166e9aa4be021b0ec39b5ba (diff)
QThreadStorage: ensure global static exists when finish() is called
For the thread that calls ::exit() (usually, the main thread). Otherwise, depending on construction order, it is possible for the QThreadStorage's destructor list to have been destroyed by the time destroy_current_thread_data() → QThreadData::finish() calls our finish(). Fixes: QTBUG-135044 Pick-to: 6.9 6.8 Change-Id: Ic5a10367ff31e7faa039fffdc2067eba9642fbf9 Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'tests/auto/sql/kernel/qsqldatabase/tst_qsqldatabase.cpp')
0 files changed, 0 insertions, 0 deletions