diff options
author | jian liang <jianliang79@gmail.com> | 2013-03-21 23:24:36 +0800 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-04-03 10:15:40 +0200 |
commit | 7dc622290bb8e81af634034f443e25be0d6d48a3 (patch) | |
tree | dcc3766bf668d4f0dd33783b92094ca3cd16d7a2 /src/corelib/plugin/quuid.h | |
parent | 0c7e6ac083cbcc7427bcd2407483145ff259a44c (diff) |
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()
Change-Id: I8ee56aff5a933ce1d812b07fb00a29ed0839ab6e
Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/corelib/plugin/quuid.h')
0 files changed, 0 insertions, 0 deletions