Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-53456

Maintain referential integrity of shared QNode resources

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Done
    • Affects Version/s: 5.7.0 Beta
    • Fix Version/s: 5.7.0 RC
    • Component/s: Qt3D
    • Labels:
      None
    • Commits:
      073930f2ef030b3019c323999d910185f4639d9b 80ddebcf2bb12debf43321c8b780c64fe1c5904e

      Description

      When a QNode is referenced in properties of other entities, we need to ensure that when the shared QNode is destroyed that we maintain referential integrity of the system by removing that QNode pointer from any properties that reference it.

      This is the same as is done for QAbstractItemView when the QAbstractItemModel is destroyed.

      This is responsible for a number of obscure crashes in dynamic scenes where resources are created and destroyed on the fly.

        Attachments

          Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            Activity

              People

              Assignee:
              lemire_p Paul Lemire
              Reporter:
              seanharmer Sean Harmer
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes