diff options
author | jian liang <jianliang79@gmail.com> | 2013-03-21 15:24:36 (GMT) |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-06-16 10:39:09 (GMT) |
commit | bd42c14963f1434eb8ca7ba2a432a2f9f970f80a (patch) | |
tree | 5164d40b30f7d9c9b5596b61994fcd7122200c14 /src/gui/painting/qpaintengine_raster.cpp | |
parent | 96a7596a904529b1ceabf3552aab2a280c19fbd3 (diff) | |
download | Qt-bd42c14963f1434eb8ca7ba2a432a2f9f970f80a.zip Qt-bd42c14963f1434eb8ca7ba2a432a2f9f970f80a.tar.gz Qt-bd42c14963f1434eb8ca7ba2a432a2f9f970f80a.tar.bz2 |
Make sure QThreadData and QAdoptedThread object is destroyed at app exit
Task-number: QTBUG-30134
Restore the lines in qcoreapplication.cpp removed by commit
950b35cf97ad398f97883efd2a18ee97994a8a9c to ensure QThreadData and
QAdoptedThread object of main thread is destroyed at application exit.
We don't set QCoreApplicationPriavte::theMainThread to 0 as before since
it will be set to zero in QThreadData::~QThreadData()
Cherry-picked from qtbase/7dc622290bb8e81af634034f443e25be0d6d48a3.
Change-Id: I6bc62235d0aff7818ca9a9cad45625b2777afc55
Reviewed-by: jian liang <jianliang79@gmail.com>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/gui/painting/qpaintengine_raster.cpp')
0 files changed, 0 insertions, 0 deletions