On Oct 15, 2015 4:50 AM, "Cedric BAIL" <cedric.b...@free.fr> wrote:
>
> cedric pushed a commit to branch master.
>
>
http://git.enlightenment.org/core/efl.git/commit/?id=229106963ab185c7f6144d82f2b6f895ad409616
>
> commit 229106963ab185c7f6144d82f2b6f895ad409616
> Author: Cedric BAIL <ced...@osg.samsung.com>
> Date:   Wed Oct 14 15:54:41 2015 -0700
>
>     evas: no need to compute clippees list if we just want to know if
there is any.
>
>     This is a partial fix for a terrible performance scenario where
application take
>     forever to close with a large number of edje object.
>
>     @fix
> ---
>  src/lib/evas/canvas/evas_object_smart_clipped.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/lib/evas/canvas/evas_object_smart_clipped.c
b/src/lib/evas/canvas/evas_object_smart_clipped.c
> index 7472044..6d4effd 100644
> --- a/src/lib/evas/canvas/evas_object_smart_clipped.c
> +++ b/src/lib/evas/canvas/evas_object_smart_clipped.c
> @@ -206,7 +206,7 @@
evas_object_smart_clipped_smart_member_del(Evas_Object *eo_obj, Evas_Object
*mem
>     if (!cso->clipper)
>       return;
>     evas_object_clip_unset(member);
> -   if (!evas_object_clipees_get(cso->clipper))
> +   if (!evas_object_clipees_has(cso->clipper))
>       evas_object_hide(cso->clipper);
>  }
>

It fixes memory leaks too. It was leaking eina list. Good fix though.
>
> --
>
>
------------------------------------------------------------------------------
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to