summaryrefslogtreecommitdiff
path: root/doc/src/snippets/code/src_sql_kernel_qsqlquery.cpp
diff options
context:
space:
mode:
authorChris Adams <christopher.adams@nokia.com>2011-11-14 11:57:21 +1000
committerChris Adams <christopher.adams@nokia.com>2011-11-15 17:24:43 +1000
commit32e931b40edf4dc53424f3435d22f5c6419182f5 (patch)
treed0f6a0587a56d1113ab1c24b55574537f4f92e81 /doc/src/snippets/code/src_sql_kernel_qsqlquery.cpp
parenta32bfdef6d6b45c916f143dcf8495a2e102c3eec (diff)
downloadqt4-tools-32e931b40edf4dc53424f3435d22f5c6419182f5.tar.gz
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_sql_kernel_qsqlquery.cpp')
0 files changed, 0 insertions, 0 deletions