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();