Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
5.3.1
-
None
-
01c6af3fc940378e8eee41a9fb8273420ef5a7e1
Description
Deleting a component instance during incubation can cause double deletion. This can be see most easily by removing these lines from the qqmlincubator objectDeleted test:
// We have to cheat and manually remove it from the creator->allCreatedObjects // otherwise we will do a double delete QQmlIncubatorPrivate *incubatorPriv = QQmlIncubatorPrivate::get(&incubator); incubatorPriv->creator->allCreatedObjects().pop();
Attachments
For Gerrit Dashboard: QTBUG-40685 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
91828,2 | Avoid double deletion when deleting an incubating component. | 5.3 | qt/qtdeclarative | Status: MERGED | +2 | 0 |