Animations: Avoid accessing invalid memory if stop() triggers deletion
authorKai Koehne <kai.koehne@digia.com>
Tue, 28 May 2013 08:35:23 +0000 (10:35 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Wed, 29 May 2013 06:23:05 +0000 (08:23 +0200)
commit114c9a16e240558a8aea2004696369e78ef5ac80
treeade3078c0a292280944a3c722bf21d7edf68d9a0
parent56c1111d392ac6bfb33559f1ca4e09e4e258a777
Animations: Avoid accessing invalid memory if stop() triggers deletion

Return immediately if calling stop() results in the current object being
deleted.

Task-number: QTBUG-31247
Change-Id: I684a858bfb4cc53f415daa8cc1c4df96067daa1c
Reviewed-by: Alan Alpert <aalpert@blackberry.com>
src/qml/animations/qsequentialanimationgroupjob.cpp