aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qqmlitemmodels
diff options
context:
space:
mode:
authorJan Arve Sæther <jan-arve.saether@qt.io>2023-10-25 17:00:47 +0200
committerJan Arve Sæther <jan-arve.saether@qt.io>2023-11-01 14:45:06 +0100
commit47b4037ccca3d9d38c2d172bafdeb5dcce699eb7 (patch)
treefce6fc6aa4f8b86d0c6c430f6fea0065e9ba007f /tests/auto/qml/qqmlitemmodels
parent87ee0130eb91dc513c013472284066f1ad030289 (diff)
Fix crash when calling QQmlIncubator::abort()
QQuickContainerPrivate::itemDestroyed did not properly clean up its internal data structures to have no references to the item that got destroyed. This was mainly because the call to q->isContent(item) in QQuickContainerPrivate::removeItem() would return false, so it would not continue doing the rest of the required cleanup that removeItem does, and it was therefore leaving dangling pointers to the destroyed item in QQuickContainers data structures. Pick-to: 6.5 6.6 Fixes: QTBUG-118397 Change-Id: I7f23b4f98df33d69b42455d20016adb7e132b510 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'tests/auto/qml/qqmlitemmodels')
0 files changed, 0 insertions, 0 deletions