Details
-
Bug
-
Resolution: Invalid
-
Not Evaluated
-
None
-
5.0.0
-
None
Description
The indestructible flag in QDeclarativeData should have a default value of 1 (CPP ownership) but when a zeroed QDD is created the value will be 0 (JS ownership). Hence in VME::CreateSimpleObject instruction a destructible (JS owned) object is created by default.
The name of the flag should be changed to "destructible" and all of the relevant logic inverted.
Attachments
Issue Links
- relates to
-
QTBUG-95895 REG 5.15 -> 6.2: destroy() does not destroy objects after appending listModel.
- Closed
-
QTBUG-10328 Error when calling destroy() in 'dynamic' example
- Closed
-
QTBUG-20626 [Regression] destroy() doesn't work on objects created dynamically in QML/JS.
- Closed