diff options
author | Bea Lam <bea.lam@nokia.com> | 2011-04-14 04:54:35 (GMT) |
---|---|---|
committer | Bea Lam <bea.lam@nokia.com> | 2011-04-14 06:04:58 (GMT) |
commit | eac733e658422af2ceefea294023d89fc6512143 (patch) | |
tree | 071d142b5b0456873758a6802e605e00f3b7a9f5 /src/plugins/qmltooling | |
parent | 013aa31cea9f82b53b988d910c42c5590b32c1cc (diff) | |
download | Qt-eac733e658422af2ceefea294023d89fc6512143.zip Qt-eac733e658422af2ceefea294023d89fc6512143.tar.gz Qt-eac733e658422af2ceefea294023d89fc6512143.tar.bz2 |
Fix so concurrent jobs produce the correct model results
Concurrent jobs sometimes modified another job's results as results
were stored in member variables and modified without locks. This
change removes the use of member variables for the current job, and
uses QAtomicInt for the incremented job ids.
(Regression from 4df66da8f9e5a9f3c981c6c60254899146dd1cc0)
Task-number: QTBUG-18266
Change-Id: Ia6783e9d17603e0ff5ccd40d8cc992bdc2d3f0e9
Reviewed-by: Charles Yin
Diffstat (limited to 'src/plugins/qmltooling')
0 files changed, 0 insertions, 0 deletions