avoid object hide animations during shutdown

This commit is contained in:
Mike Blumenkrantz 2017-08-11 18:48:53 -04:00
parent 7f89c3a4e8
commit d4179fea54
1 changed files with 2 additions and 2 deletions

View File

@ -2701,7 +2701,7 @@ _e_comp_object_util_show(void *data EINA_UNUSED, Evas_Object *obj)
e_comp_shape_queue();
evas_object_show(obj);
if (ref)
if (ref && (!stopping))
{
evas_object_ref(obj);
evas_object_data_set(obj, "comp_ref", (void*)1);
@ -2729,7 +2729,7 @@ _e_comp_object_util_hide(void *data EINA_UNUSED, Evas_Object *obj)
evas_object_unref(obj);
return;
}
if (!evas_object_data_del(obj, "comp_showing"))
if ((!stopping) && (!evas_object_data_del(obj, "comp_showing")))
{
evas_object_ref(obj);
evas_object_data_set(obj, "comp_ref", (void*)1);