Check if the interpolators have already been deleted.
authorThiago Macieira <thiago.macieira@nokia.com>
Wed, 26 Jan 2011 13:06:11 +0000 (14:06 +0100)
committerThiago Macieira <thiago.macieira@nokia.com>
Wed, 26 Jan 2011 13:15:13 +0000 (14:15 +0100)
commit861333040c252fa0f53894b604f7cb768c085281
tree908015d253a9e4cd75a0badca778152503242a05
parent121e2b39043a4ffc6583f250aebb9a3a746076c1
Check if the interpolators have already been deleted.

During application destruction, the order in which static destructors
is run is undetermined. So avoid a null-pointer dereference.

Task-number: QTBUG-16855
Reviewed-by: Robin Burchell
Patch by task reporter
src/corelib/animation/qvariantanimation.cpp