diff options
author | Chris Adams <christopher.adams@nokia.com> | 2011-11-14 01:57:21 (GMT) |
---|---|---|
committer | Chris Adams <christopher.adams@nokia.com> | 2011-11-14 01:57:21 (GMT) |
commit | b029874615f0da72a44dab5b6d1a398a71f13100 (patch) | |
tree | b2fa1efccd70a977f8fed2db94d47fc467af808c /doc/src/snippets/code/src_script_qscriptcontext.cpp | |
parent | 9b3b29997f91892266fc34083eef269d7d7cc006 (diff) | |
download | Qt-b029874615f0da72a44dab5b6d1a398a71f13100.zip Qt-b029874615f0da72a44dab5b6d1a398a71f13100.tar.gz Qt-b029874615f0da72a44dab5b6d1a398a71f13100.tar.bz2 |
Properly protect access to pixmap reader thread with mutex
Previously, access to the data from the reader thread wasn't guarded
properly, causing a crash when the reader thread was deleted prior to
QDeclarativePixmapData (which then attempted to dereference the
thread pointer to cancel the request), or in the case where a
QDeclarativePixmapData was deleted after its QDeclarativePixmapReply
was removed from the jobs queue but prior to processing.
Reviewed-by: Martin Jones
Task-number: QTBUG-22125
Diffstat (limited to 'doc/src/snippets/code/src_script_qscriptcontext.cpp')
0 files changed, 0 insertions, 0 deletions