summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorChris Adams <christopher.adams@nokia.com>2011-11-16 13:20:45 +1000
committerQt by Nokia <qt-info@nokia.com>2011-11-29 07:09:01 +0100
commit328d1d2fd6cba7368230a1232e080d3f3310a7f1 (patch)
treea8ca29ce66d937a6a40639cad14face3018cbd95 /tools
parent2e8059bfb80230d82bf98d7791b4dfc1d3706658 (diff)
Properly protect access to pixmap reader thread with mutex
Previously, access to 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). This commit adds locking to ensure that access to the reader is protected properly. This commit also fixes an issue where if a QDeclarativePixmapData was deleted after its QDeclarativePixmapReply was removed from the jobs queue but prior to processing, a pointer to the data could be dereferenced as part of processing, but caching the required information in the reply. Task-number: QTBUG-22125 Change-Id: I32aa2ca41a297b48e68cb358f4aa4fafd999f215 Reviewed-by: Martin Jones <martin.jones@nokia.com>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions