forked from enlightenment/efl
ecore: don't crash if the animator is already destroyed.
SVN revision: 80038
This commit is contained in:
parent
3d346a6511
commit
9445974cb8
|
@ -402,6 +402,7 @@ ecore_animator_del(Ecore_Animator *obj)
|
||||||
Ecore_Animator_Private_Data *animator = eo_data_get(obj, MY_CLASS);
|
Ecore_Animator_Private_Data *animator = eo_data_get(obj, MY_CLASS);
|
||||||
_ecore_lock();
|
_ecore_lock();
|
||||||
|
|
||||||
|
if (!animator) goto unlock;
|
||||||
if (animator->delete_me)
|
if (animator->delete_me)
|
||||||
{
|
{
|
||||||
data = animator->data;
|
data = animator->data;
|
||||||
|
|
Loading…
Reference in New Issue