diff options
author | Jędrzej Nowacki <jedrzej.nowacki@digia.com> | 2013-02-12 14:08:48 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-02-20 15:22:55 +0100 |
commit | dacc222d5a3327fb27d69e57d99111cdf9084304 (patch) | |
tree | de03a59bba5f628b51fa03a4230b43c215da12ee /src/tools/qdoc/ditaxmlgenerator.cpp | |
parent | d3a4230757931a704f36dd1eb4917a5ce61f80b4 (diff) |
Fix QVector detaching in one thread while another destroys it.
The patch adds handling for a case when a QVector is shared between two
threads. In such scenario detaching in one thread could collide with
destruction in the other one, causing a memory leak or assert in debug
mode.
Task-number: QTBUG-29134
Change-Id: Idbff250d9cfc6cf83174954ea91dbf41f8ea4aa4
Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/tools/qdoc/ditaxmlgenerator.cpp')
0 files changed, 0 insertions, 0 deletions