Commit 9321a196 authored by Martin Jones's avatar Martin Jones Committed by Qt by Nokia
Browse files

Deleting an incubated object after setInitialState() crashes


Incubating objects are often parented in setInitialState(), which
can lead to the incubating object being deleted after object creation,
but before completion.  When incubator.clear() is called after
this point, it would attempt to delete the already deleted
object. This change guards the incubation object in the incubator.

Change-Id: I9585e93027250b8b6b3f1777b10ee1008ae7b818
Reviewed-by: default avatarGlenn Watson <glenn.watson@nokia.com>
parent a782a3e5
No related merge requests found
Showing with 38 additions and 1 deletion
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment