devilhorns pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=5365493788b77edbfe51b3fe803508d2e5e30e69

commit 5365493788b77edbfe51b3fe803508d2e5e30e69
Author: Mike Blumenkrantz <[email protected]>
Date:   Mon Jun 25 06:54:46 2018 -0400

    avoid adding render updates for deleted clients after animation completes
    
    Summary:
    in the case where deletion is deferred to preserve a window animation this
    codepath may be triggered by a deleted client, at which point no render 
update
    should occur in order to avoid compositor errors
    
    ref f78eb3c108fbbb84edcb4c62fc499b4be558169a
    fix T5203
    
    Reviewers: ManMower, devilhorns
    
    Reviewed By: devilhorns
    
    Subscribers: netstar, cedric
    
    Tags: #enlightenment-git
    
    Maniphest Tasks: T5203
    
    Differential Revision: https://phab.enlightenment.org/D6367
---
 src/bin/e_comp_object.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/bin/e_comp_object.c b/src/bin/e_comp_object.c
index ebe9673cc..bd28a4f54 100644
--- a/src/bin/e_comp_object.c
+++ b/src/bin/e_comp_object.c
@@ -825,7 +825,7 @@ _e_comp_object_done_defer(void *data, Evas_Object *obj 
EINA_UNUSED, const char *
    /* hide only after animation finishes to guarantee a full run of the 
animation */
    if (cw->defer_hide && ((!strcmp(emission, "e,action,hide,done")) || 
(!strcmp(emission, "e,action,done"))))
      evas_object_hide(cw->smart_obj);
-   else
+   else if (!cw->deleted)
      {
         e_comp_shape_queue();
         if (cw->visible && cw->updates_exist)

-- 


Reply via email to