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.
|For Gerrit Dashboard: QTBUG-53456|
|159835,4||Shared node bookkeeping||5.7||qt/qt3d||Status: ABANDONED||+1||0|
|159903,3||Shared node bookkeeping||5.7.0||qt/qt3d||Status: MERGED||+2||0|
|160296,3||Node bookkeeping fix: clear table of connection in QNode dtor||5.7.0||qt/qt3d||Status: MERGED||+2||0|