discomfitor pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=65fe42fdef635d95135e85ecf6cb20048844e726

commit 65fe42fdef635d95135e85ecf6cb20048844e726
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Fri Aug 11 18:48:53 2017 -0400

    avoid object hide animations during shutdown
---
 src/bin/e_comp_object.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/bin/e_comp_object.c b/src/bin/e_comp_object.c
index 406de2e3c..d5640869d 100644
--- a/src/bin/e_comp_object.c
+++ b/src/bin/e_comp_object.c
@@ -2785,7 +2785,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);
@@ -2813,7 +2813,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);

-- 


Reply via email to