summaryrefslogtreecommitdiffstats
path: root/tests/auto/network/access/qnetworkreply/tst_qnetworkreply.cpp
diff options
context:
space:
mode:
authorVladimir Belyavsky <belyavskyv@gmail.com>2022-06-01 20:44:57 +0300
committerVolker Hilsheimer <volker.hilsheimer@qt.io>2022-06-10 19:40:32 +0000
commit865212057b9f4e2809ebe42ec25c2d94d818cde7 (patch)
tree7b8e47cc643de10f50ce4a07eb4d9ffd5b4cf8e9 /tests/auto/network/access/qnetworkreply/tst_qnetworkreply.cpp
parente2f14e5be702f89e3d54153fd7511c02729e014e (diff)
Windows: fix DeferredDelete events processing on QThread::terminate()
On finishing/terminating a thread, when processing posted events, we need to consider QThread's own data instead of caller thread's data. Otherwise we can get into unexpected situations such as double destruction of an object, premature destruction, etc. Fixes: QTBUG-103922 Pick-to: 6.4 6.3 6.3.1 6.2 5.15 Change-Id: Idf77221ebbaa0b150ee2d0c296b51829ae8dc30e Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'tests/auto/network/access/qnetworkreply/tst_qnetworkreply.cpp')
0 files changed, 0 insertions, 0 deletions