summaryrefslogtreecommitdiffstats
path: root/src/gui/doc/snippets/textdocument-blocks
diff options
context:
space:
mode:
authorFabian Kosmale <fabian.kosmale@qt.io>2025-08-04 16:28:53 +0200
committerFabian Kosmale <fabian.kosmale@qt.io>2025-08-27 13:19:24 +0200
commit2d92ea02501c058f55a8562f55804ccb105bf4bf (patch)
treeca238cb533cd97f65a21aba90470a868e605690d /src/gui/doc/snippets/textdocument-blocks
parentf5d936642b18c5d06942171530a164499e4e9113 (diff)
QProperty: Avoid referencing stale QBindingStatus
Because we cache the QBindingStatus in QObjects, and the QObjects might outlive the native thread, we can't bind the lifetime of the QBindingStatus solely to the native thread. Instead, keep it alive while the QThreadData associated with the QObject still exists. This is done by moving the BindingStatusOrList member for QThreadPrivate to QThreadData, and by letting QThreadData own the binding status. Pick-to: 6.10 6.9 6.8 6.5 Fixes: QTBUG-126134 Change-Id: I747ec1778f6b6f376c38d1c678dc5b2f62fcb7ef Reviewed-by: Ivan Solovev <ivan.solovev@qt.io> Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'src/gui/doc/snippets/textdocument-blocks')
0 files changed, 0 insertions, 0 deletions