Commit cbb53d46 authored by Gunnar Sletta's avatar Gunnar Sletta Committed by Qt by Nokia

Reset all node pointers when item is cleaned up

Change-Id: I5878e1d39eca3fa640f16d153924968f72bc9ffc
Reviewed-by: default avatarKim M. Kalland <kim.kalland@nokia.com>
parent e2caf235
......@@ -1618,6 +1618,7 @@ void QQuickCanvasPrivate::cleanupNodesOnShutdown(QQuickItem *item)
if (p->extra.isAllocated()) {
p->extra->opacityNode = 0;
p->extra->clipNode = 0;
p->extra->rootNode = 0;
}
p->groupNode = 0;
......
Markdown is supported
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