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

Maintain referential integrity of shared QNode resources

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 5.7.0 RC
    • 5.7.0 Beta
    • Qt3D
    • None
    • 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

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: