Fix crash in animation controller upon destruction
authorSimon Hausmann <simon.hausmann@digia.com>
Sat, 9 Nov 2013 00:58:28 +0000 (01:58 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Sat, 9 Nov 2013 01:01:01 +0000 (02:01 +0100)
commite367f75d7285d2bcd10cbb35d088c96f33c02aff
tree50ad5ad6655e342d859f289e52be0a256b1af777
parent8078e2ea1350fd5109074a2be7207d75840e57f7
Fix crash in animation controller upon destruction

Triggered by tst_examples, it appears that we can have jobs in
m_deleting that are also still listed in m_starting. So similar to
what we do in beforeNodeSync, we now also take any deletion-scheduled
jobs out of m_starting/m_stopping in the destructor.

Change-Id: I2e00570a4e4669f8172354bf5806c5285920030a
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
src/quick/util/qquickanimatorcontroller.cpp