aboutsummaryrefslogtreecommitdiffstats
path: root/examples/quick
diff options
context:
space:
mode:
authorGunnar Sletta <gunnar.sletta@digia.com>2013-02-05 12:11:27 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-02-07 11:07:25 +0100
commit4f8537ff8c9427705e3587861a62fe81cf3e503b (patch)
treef667379d9618eb68bf140b39a5c8e5c36fb1de8e /examples/quick
parenteb9036b09728080f09d17f95876aaedddc5fe749 (diff)
Make sure deleteLater gets run at the "correct" time.
We have a number of places where we delete scene graph objects with deleteLater() and change the scene graph. The timing of when the deleteLater happens is very important as we need to complete the updates to the scene graph first. In this particular case, a QQuickShaderEffectSource was released, and an update was scheduled but because animations were running we were already beginning to render a new frame before the update was handled, causing a crash. The only safe place to run deferred deletes is after we have performed a proper sync with the item scene. Task-number: QTBUG-29485 Change-Id: I6e93d4e6276fe82d3f4c818781b188e03c46e510 Reviewed-by: Samuel Rødal <samuel.rodal@digia.com>
Diffstat (limited to 'examples/quick')
0 files changed, 0 insertions, 0 deletions