Cleanup SG properly in QQuickCanvas
authorAlan Alpert <alan.alpert@nokia.com>
Mon, 18 Jun 2012 04:08:55 +0000 (14:08 +1000)
committerQt by Nokia <qt-info@nokia.com>
Wed, 20 Jun 2012 08:27:30 +0000 (10:27 +0200)
commitaf6538971be60b8787fa8735c9e1c2ad0ad4bc11
tree93f6751b16c8a24056b1d63659a587c01862046d
parente57c04a18b6a8e593a7e89301b0a63456f2aee21
Cleanup SG properly in QQuickCanvas

The scenegraph renderer and root node were not cleaned up when all other
SG nodes are. This leads to a possible case where the SG nodes
regenerate for the canvas without being properly linked to the renderer.

Task-number: QTBUG-23571
Change-Id: I19084af998cb7482bfddc87770ee9b5e0aad3a6c
Reviewed-by: Gunnar Sletta <gunnar.sletta@nokia.com>
src/quick/items/qquickcanvas.cpp